🔢Numbers
Auxiliary functions for Numbers types.
Round
MTools.Number.Round(value);
Name | Type | Description |
---|---|---|
value |
| 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 |
| The number for the fix |
digits |
| Number of digits after the point |
Allows you to trim a number to the desired size. Example usage:
Last updated