BigInteger.Parse(String, NumberStyles, IFormatProvider) Method

Converts the string representation of a number in a specified style and culture-specific format to its BigInteger equivalent.

Definition

Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
public static BigInteger Parse(
	string s,
	NumberStyles style,
	IFormatProvider provider
)

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.
provider  IFormatProvider
An IFormatProvider that supplies culture-specific formatting information about s.

Return Value

BigInteger
A BigInteger equivalent to the numeric s or symbol specified in s.

Exceptions

ArgumentNullExceptions is null.
FormatExceptions is not a number in a valid format.

See Also