ICurrencyFromUSDollar Method

Returns a Money object denominated in U.S. dollars equal in value and converted from to the Money object presented.

Definition

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

Parameters

value  Decimal
The Money object to convert to U.S. dollars

Return Value

Money
A Money object denominated 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