Syntax
BigDecimal
convertByFractionCurrencyUnit
(
ExchangeRate
exchangeRate
,
long
sourceAmount
)
Parameters
-
exchangeRate –
the exchange rate to use
-
sourceAmount –
the long amount to convert
Returns
the appropriate conversion amount as BigDecimal
Usage
Converts the specified amount of the source currency into the appropriate amount of the target currency.
the appropriate conversion amount as BigDecimal