NbFmt(value:variable)
Value = a numeric value to be formatted (30,8)
Variable = The name of a variable in SSAPD012P (optional)
Return type:
Formatted number in a string
Description:
This function returns the numeric value in a formatted state. If the second parameter is not used the value is formatted as described in the system file (SSAPD000P).
If the second variable is specified the attributes for this variable (from SSAPD012P) is used.
Example:
printvalue = NbFmt(amount:std_format)
PutXmlRcd('dsoData':
BldButton +
XmlA('value’:NbFmt(amount)
)