]> git.ipfire.org Git - thirdparty/Chart.js.git/commit
Account for floating point error in niceNum helper (#9343)
authorEvert Timberg <evert.timberg+github@gmail.com>
Thu, 1 Jul 2021 19:07:32 +0000 (15:07 -0400)
committerGitHub <noreply@github.com>
Thu, 1 Jul 2021 19:07:32 +0000 (15:07 -0400)
commitfea3f20762cc62b159f0f716ccd636994ee03b6d
tree79e2e22f54d897ba887bd92a24ff136a5815e379
parent3934935caa916f5ad1dfcf0829b84913389443cd
Account for floating point error in niceNum helper (#9343)

* Account for floating point error in niceNum helper
* Better solution
src/helpers/helpers.math.js
src/scales/scale.linearbase.js
test/fixtures/scale.linear/tick-step-min-max-step-fp.js [new file with mode: 0644]
test/fixtures/scale.linear/tick-step-min-max-step-fp.png [new file with mode: 0644]