MoneyToExponentString(IFormatProvider, Int32, String) Method
Displays this
Money value as an exponent
Namespace: InnerDrive.FinancialAssembly: InnerDrive.Financial (in InnerDrive.Financial.dll) Version: 5.2.9017.0
public string ToExponentString(
IFormatProvider? provider,
int exponent,
string? format
)
- provider IFormatProvider
-
The IFormatProvider to use to format the value.
-or-
A null reference (Nothing in Visual Basic) to obtain the numeric format
information from the current locale setting of the operating system.
- exponent Int32
- The exponent of 10 to use
- format String
- The String specifying the format to use.
-or-
A null reference (Nothing in Visual Basic) to use the default format
defined for the type of the IFormattable implementation.
StringA
String For example, to print the
Money value in millions,
use money.ToExponentString(6).