MoneyToExponentString(Int32, String) Method

Displays this Money value as an exponent

Definition

Namespace: InnerDrive.Financial
Assembly: InnerDrive.Financial (in InnerDrive.Financial.dll) Version: 5.2.9017.0
C#
public string ToExponentString(
	int exponent,
	string format = "{0}{1:0.0}"
)

Parameters

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.

Return Value

String
A String

Remarks

For example, to print the Money value in millions, use money.ToExponentString(6).

See Also