Click or drag to resize

MassToString(String, IFormatProvider) Method

Formats the value of the current instance using the specified format.

Namespace: InnerDrive.Quantitative
Assembly: InnerDrive.Quantitative (in InnerDrive.Quantitative.dll) Version: 5.0.8475.0
Syntax
C#
public string ToString(
	string? format,
	IFormatProvider? formatProvider
)

Parameters

format  String
The String specifying the format to use, or a null reference to use the default format defined for the type of the IFormattable implementation.
formatProvider  IFormatProvider
The IFormatProvider to use to format the value, or a null reference to obtain the numeric format information from the current locale setting of the operating system.

Return Value

String
A String containing the value of the current instance in the specified format.

Implements

IFormattableToString(String, IFormatProvider)
Remarks
The default format is the numeric format string g, in which he number is converted to the most compact of either fixed-point or scientific notation, depending on the type of the number and whether a precision specifier is present.
See Also