convertByMainCurrencyUnit(ExchangeRate, BigDecimal) method
Syntax
BigDecimal
convertByMainCurrencyUnit
(
ExchangeRate
exchangeRate
,
BigDecimal
sourceAmount
)
Parameters
-
exchangeRate –
the exchange rate to use
-
sourceAmount –
the BigDecimal 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
Created October 21, 2013. Send feedback on this help topic to Technical Publications:
pubs@sap.com