ns(<num>{,<int>})
string
A numeric value as a string.
<num>
The numeric value to be converted to a string.
<int>
The number of decimal
places to be printed after a decimal point. If omitted, the value of the
system numeric dec_places is used. Trailing zero’s
are suppressed.
Compute π to 10 places of decimals.
string os = ns(pi,10)
Functions: |
fmt (string) |
Identifiers: |
dec_places (numeric) |