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.