Formats the value of the current instance using the specified format.
Namespace: Extreme.MathematicsAssembly: Extreme.Numerics.Net40 (in Extreme.Numerics.Net40.dll) Version: 6.0.16073.0 (6.0.16312.0)
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)
Numerical Libraries
Supported in: 6.0, 5.x, 4.x
Reference