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 | 3693.9 Ops/sec |
Round floating number using toFixed() | 3602.6 Ops/sec |