Big Integer.To String Method
Definition
Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Overload List
ToString() | Returns a string representation of the number. |
ToString( | Returns a string representation of the integer in the specified radix base. |
ToString( | Formats the value of the current instance using the specified format. |
ToString( | Formats the value of the current instance using the specified format. |
ToString
Returns a string representation of the number.
ToString(Int32)
Returns a string representation of the integer in the specified radix base.
public string ToString(
int radix
)
Parameters
- radix Int32
- The radix (base) of the representation.
Return Value
StringExceptions
Argument | radix is less than 2 or greater than 36. |
ToString(String)
Formats the value of the current instance using the specified format.
public string ToString(
string format
)
Parameters
Return Value
StringA String containing the value of the current instance in the specified format.
ToString(String, IFormatProvider)
Formats the value of the current instance using the specified format.
public string ToString(
string format,
IFormatProvider formatProvider
)
Parameters
- format String
- The String specifying the format to use.
-or-
null to use the default format.
- formatProvider IFormatProvider
- The IFormatProvider to use to format the value.
-or-
null to obtain the numeric format information from the current locale setting of the operating system.
Return Value
StringA String containing the value of the current instance in the specified format.