Commit d0c238cc authored by Ben Noordhuis's avatar Ben Noordhuis
Browse files

benchmark: fix printing of large numbers

Don't use Number#toPrecision(), it switches to scientific notation for
numbers with more digits than the precision; use Number#toFixed().

PR-URL: https://github.com/iojs/io.js/pull/185


Reviewed-By: default avatarChris Dickinson <christopher.s.dickinson@gmail.com>
parent 1a63b45a
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment