ParseableBigInt

com.phasmidsoftware.tableparser.core.parse.Parseable.ParseableBigInt
See theParseableBigInt companion object
trait ParseableBigInt extends Parseable[BigInt]

Parser of BigInt.

Attributes

Companion
object
Graph
Supertypes
trait Parseable[BigInt]
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Concrete methods

def parse(s: String, optModifier: Option[String]): Try[BigInt]

Parses the input string into a BigInt using the specified radix (base), determined by the optional modifier. If the optional modifier is provided, it is converted to an integer and used as the radix. If not provided, a default radix of 10 is used.

Parses the input string into a BigInt using the specified radix (base), determined by the optional modifier. If the optional modifier is provided, it is converted to an integer and used as the radix. If not provided, a default radix of 10 is used.

Value parameters

optModifier

an optional string specifying the radix (base) to use for parsing. If not provided, the default radix is 10.

s

the input string to be parsed into a BigInt.

Attributes

Returns

a Try[BigInt] representing the result of parsing. The Try will contain a BigInt if parsing succeeds, or a Failure with an appropriate exception if parsing fails.