Formats the value of the current instance using the specified format.
Namespace:
Extreme.Mathematics
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public string ToString(
string format,
IFormatProvider formatProvider
)
Public Function ToString (
format As String,
formatProvider As IFormatProvider
) As String
public:
virtual String^ ToString(
String^ format,
IFormatProvider^ formatProvider
) sealed
abstract ToString :
format : string *
formatProvider : IFormatProvider -> string
override ToString :
format : string *
formatProvider : IFormatProvider -> string
Parameters
- format
- Type: SystemString
The String specifying the format to use.
-or-
to use the default format.
- formatProvider
- Type: SystemIFormatProvider
The IFormatProvider to use to format the value.
-or-
to obtain the numeric format information from the current locale setting
of the operating system.
Return Value
Type:
StringA
String containing the value of the current instance in the specified format.
Implements
IFormattableToString(String, IFormatProvider)
Reference