Test case name | Result |
---|---|
Round floating number using lodash round function | |
Round floating number using toFixed() |
Test name | Executions per second |
---|---|
Round floating number using lodash round function | 9047.1 Ops/sec |
Round floating number using toFixed() | 9250.3 Ops/sec |