MoneyToExponentString(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(
int exponent,
string format = "{0}{1:0.0}"
)
- exponent Int32
- The exponent of 10 to use
- format String (Optional)
- 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).