Math
MSK.Math.Number
Generates a random number.
Parameters
length - number
- The Length of the number
Returns
number - number
- The Number of the given length
MSK.Math.Round
Rounds a number
Parameters
number - number
- The Number that should be rounded
decimal - number
- The Length of the decimal digits
Returns
num - number
- The rounded number
MSK.Math.Comma
Let your Number look like 1.000 f.e. for UIs, etc.
Parameters
number - number
- The Number that should be seperated
tag - string
- Optional
Returns
text - string
- The sperated text
Last updated