CurrencyFromUSDollar 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#
public virtual 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.

Implements

ICurrencyFromUSDollar(Decimal)

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(ICurrency, Decimal) with an entry for the target currency.

See Also