BigInteger.TryParse(String, BigInteger) Method

Converts the string representation of a number to its BigInteger equivalent. A return value indicates whether the conversion succeeded or failed.

Definition

Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
public static bool TryParse(
	string s,
	out BigInteger value
)

Parameters

s  String
A string containing a number to convert.
value  BigInteger
When this method returns, contains the BigInteger equivalent to the number contained in s, if the conversion succeeded, or zero if the conversion failed. The conversion fails if the s parameter is null, or is not of the correct format., This parameter is passed uninitialized.

Return Value

Boolean
true if s was converted successfully; otherwise, false.

See Also