How can I round down a number in JavaScript?
math.round() doesn\'t work because it rounds it to the nearest decimal.
math.round()
I\'m not sure if there is
You need to put -1 to round half down and after that multiply by -1 like the example down bellow.
Round number 1.25 down: Round number 1.25 up:
Round number 1.25 down:
Round number 1.25 up: