Let's talk about Math.ceil, Math.floor, and Math.round πΏ
Introduction
We all have learned about rounding off numbers in our school. We usually increase the integer if its value is >=.5 and decrease it, if it is <= .4.
1.5 β 2
1.4 β 1
We all know JavaScript has a built-in object called Math, which has pro...
blog.nemotivity.dev2 min read