convertByFractionCurrencyUnit(ExchangeRate, long) method

Syntax

BigDecimal convertByFractionCurrencyUnit ( ExchangeRate exchangeRate , long sourceAmount )

Parameters

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