MoneyToExponentString(IFormatProvider, 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(
	IFormatProvider? provider,
	int exponent,
	string? format
)

Parameters

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.

Return Value

String
A String

Remarks

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

See Also