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
Here is math.floor being used in a simple example. This might help a new developer to get an idea how to use it in a function and what it does. Hope it helps!
Let's add numbers + Enter the answer below and click 'Check' *** Total marks : 0