We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 92aec30 commit dc9aaebCopy full SHA for dc9aaeb
src/components/fields/AxisInterval.js
@@ -14,7 +14,7 @@ const DAYS_IN_MONTH = 30;
14
const MONTHS_IN_YEAR = 12; //eslint-disable-line
15
16
function twoDecimalsRound(value) {
17
- return +value.toFixed(2);
+ return Math.round(value * 100) / 100;
18
}
19
20
function getSmallestUnit(milliseconds) {
0 commit comments