ICurrencyToUSDollar Method

Returns a Money object denominated in U.S. dollars, converted from and equal to the decimal value denominated in the current instance.

Definition

Namespace: InnerDrive.Financial
Assembly: InnerDrive.Financial (in InnerDrive.Financial.dll) Version: 5.2.9017.0
C#
Money ToUSDollar(
	decimal value
)

Parameters

value  Decimal
The value to convert from the current instance to U.S. dollars.

Return Value

Money
The converted value in U.S. dollars.

Remarks

Converting to the same type of currency will return a Money object with the same value as the one provided.

Exceptions

InvalidConversionExceptionThrown if the conversion cannot be performed. The most common reason for this is that you have not called SetConversion with an entry for the target currency.

See Also