| Test case name | Result |
|---|---|
| myFloat.toFixed(2) | |
| myFloat.toPrecision(2) | |
| Math.round(myFloat*100.0)/100.0 | |
| Bitwise: signed round ± to 2 places | |
| Bitwise: UNsigned round ± to 2 places | |
| myFloat.toFixed(0) | |
| Math.round() | |
| Bitwise: signed round ± to int | |
| Bitwise: UNsigned round ± to int | |
| Math.floor() round down | |
| Math.trunc() round toward zero | |
| Bitwise: round toward zero |
This benchmark does not have any results yet. Be the first one to run it!