v8
Added:
numberBeforeDecimalPoint(number) Counts the number of digits before decimal point
Parameters:
number: - in float
Returns: number of digits
numberAfterDecimalPoint(number) Counts the number of digits after decimal point
Parameters:
number: - in float
Returns: number of digits
roundToMinTick(number, minTick) Rounds number to same decimals of mintick
Parameters:
number: - in float, number to round
minTick: - in float, decimals to use
Returns: rounded number