DEV Community

Discussion on: Halfmoon: The forgotten CSS Framework

Collapse
 
darkwiiplayer profile image
𒎏Wii 🏳️‍⚧️

I mean rounding up to like 2 decimals or so; nobody tips 0.0000000000001 xD

Thread Thread
 
darshanbajeja profile image
Darshan-Bajeja

Oh Got It!
I know too late to reply, but yes, you may just use the Math.round(x) function for that. No decimal places better than 2!