You are viewing a single comment's thread. Return to all comments →
I dont think there is need for this. The code works just fine in JS.
Remeber to use Math.floor() and Math.ceil() functions. If the decimal is >0.5 use floor, else ceil
Seems like cookies are disabled on this browser, please enable them to open this website
Day 2: Operators
You are viewing a single comment's thread. Return to all comments →
I dont think there is need for this. The code works just fine in JS.
Remeber to use Math.floor() and Math.ceil() functions. If the decimal is >0.5 use floor, else ceil