Converts the numeric value of this instance to its
equivalent string representation using the specified
format and culture-specific format information.
Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (Extreme.Numerics)
Syntax
| Visual Basic (Declaration) |
|---|
Public Function ToString ( _ format As String, _ provider As IFormatProvider _ ) As String |
| C# |
|---|
public string ToString ( string format, IFormatProvider provider ) |
| C++ |
|---|
public: String^ ToString ( String^ format, IFormatProvider^ provider ) |
Parameters
- format (System.String)
- A format string.
- provider (System.IFormatProvider)
- An IFormatProvider that supplies culture-specific formatting information.
Return Value
The string representation of the value of this instance.
Exceptions
| Exception | Condition |
|---|---|
| FormatException | format is invalid. |