Remove decimal points in floating point number (v2)

Revision 2 of this benchmark created on


Test runner

Ready to run.

Testing in
TestOps/sec
Math.floor()
Math.floor(Math.random() * 1e4)
ready
OR with 0 (x | 0)
(Math.random() * 1e4) | 0
ready

Revisions

You can edit these tests or add more tests to this page by appending /edit to the URL.