Big Integer.Parse(String, Number Styles) Method
Converts the string representation of a number in a specified style to its BigInteger equivalent.
Definition
Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
A BigInteger equivalent to the numeric s or symbol specified in s.
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
public static BigInteger Parse(
string s,
NumberStyles style
)
Parameters
- s String
- A string containing a number to convert.
- style NumberStyles
- A bitwise combination of NumberStyles values that indicates the permitted format of s.
Return Value
BigIntegerA BigInteger equivalent to the numeric s or symbol specified in s.
Exceptions
Argument | s is null. |
Format | s is not a number in a valid format. |