PriceDiscSmartRounding.amount2Str Method [AX 2012]

Converts an amount to a string without adding unnecessary decimals, or strips off any decimals from the amount to convert.

public str amount2Str(Amount _amount)

Run On

Called

Parameters

_amount
Type: Amount Extended Data Type
The amount to convert.

Return Value

Type: str
The string equivalent of the amount.

Unlike this method, the num2str method always converts an amount to a string with a fixed number of decimals.

Community Additions

ADD
Show: