PriceDiscSmartRounding::smartRound Method [AX 2012]

Applies smart rounding to an amount based on the rounding rules associated with a currency.

client server public static Amount smartRound(Amount _amount, Currency _currency)

Run On

Called

Parameters

_amount
Type: Amount Extended Data Type
The amount to round.
_currency
Type: Currency Table
The currency of the rounding rule set to use.

Return Value

Type: Amount Extended Data Type
The amount after rounding.
Show: