precision
Description
Formats a number using fixed-point notation. The number is rounded if necessary. This is similar to the Number.toFix() function in JavaScript.
Usage
Client side: Y
Server side: Y
Syntax
precision: function(num, [precision])
Arguments
num
The number to be formatted.
prefix
(Optional.) The number of digits to appear after the decimal point. The maximum value is 20; the minimum value is 0.
If omitted, the [defaultPrecision] in settings is used (its default value is 2).
Server side: The default precision is 2.
Return
A float value with fractions.
Go up to