Ceiling numbers - {Shorts}
A few neat ways of ceiling numbers using JavaScript
Globals
const n = 4.2
Cases
0 ops/s
Math.ceil(n)
0 ops/s
~~(n + 1)
0 ops/s
n|1
0 ops/s
(n + 1) >> 0
Embed
Share
Options
Epochs:
Timeout:
Run
H
ASTY.DEV
JS
performance
Pre-defined
Notebooks
Blog
Donate
Wall of love 😻
Telegram
Mastodon
Twitter
Use HASTY
Try demo