getAmountFormattedValue method: Tile class
Syntax
getAmountFormattedValue(num_val, currency_cd)
Description
Invoke the getAmountFormattedValue method to return a String value that represents a numeric value that has been formatted with the currency symbol corresponding to the specified currency code.
Parameters
| Parameter | Description |
|---|---|
|
num_val |
Specifies the numeric value to be formatted as a Number value. |
|
currency_cd |
Specifies the currency code as a String value. |
Returns
A String value.
Example
&total = &sub_tot1 + &sub_tot2:
%This.TileKPI_1 = %This.getAmountFormattedValue(&total, "USD");