Numbers
Auxiliary functions for Numbers types.
Round
MTools.Number.Round(value);
Name
Type
Description
value
number
The number to round off
Allows you to round a number to the nearest. Example usage:
Fixed
MTools.Number.Fixed(value, digits);
Name
Type
Description
value
number
The number for the fix
digits
number
Number of digits after the point
Allows you to trim a number to the desired size. Example usage:
Last updated