Run details:
Mozilla/5.0 (Windows NT 10.0; WOW64; rv:56.0) Gecko/20100101 Firefox/56.0
Firefox 56
Windows
Other
7 years ago
Test name Executions per second
trunc 789424.5 Ops/sec
dosDecimales 5631966.0 Ops/sec
Script Preparation code:
Tests:
  • trunc

  • dosDecimales