PriceDiscSmartRounding.roundUp Method [AX 2012]

Rounds up an amount based on the syntax expression and the specified upper limit.

public Amount roundUp(
    Amount _amount, 
    PriceDiscSmartRoundingSyntax _syntax, 
    PriceDiscSmartRoundingSyntax _upperLimitPoint)

Run On

Called

Parameters

_amount
Type: Amount Extended Data Type
The amount to round up.
_syntax
Type: PriceDiscSmartRoundingSyntax Extended Data Type
The syntax expression.
_upperLimitPoint
Type: PriceDiscSmartRoundingSyntax Extended Data Type
The highest point to which an amount can be rounded.

Return Value

Type: Amount Extended Data Type
The amount after it is rounded.

Community Additions

ADD
Show: