Big Integer.Parse(String, IFormat Provider) Method
Converts the string representation of a number in a specified culture-specific format 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,
IFormatProvider provider
)
Parameters
- s String
- A string containing a number to convert.
- provider IFormatProvider
- An IFormatProvider that supplies culture-specific formatting information about 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. |