Currency::mcrRoundedOffTotalAmount Method
Rounds the passed in amount based on the rounding method.
Syntax
client server public static AmountCur mcrRoundedOffTotalAmount(AmountCur _totalAmount, CurrencyCode _currencyCode)
Run On
Called
Parameters
- _totalAmount
Type: AmountCur Extended Data Type
The total amount to be rounded.
- _currencyCode
Type: CurrencyCode Extended Data Type
The currency code used to find the roundoff value.
Return Value
Type: AmountCur Extended Data Type
Returns the rounded amount.