Skip to content

Commit

Permalink
v5.3.5
Browse files Browse the repository at this point in the history
  • Loading branch information
novykh committed Jul 12, 2024
1 parent 6f07e3f commit 597ab05
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@netdata/charts",
"version": "5.3.4",
"version": "5.3.5",
"description": "Netdata frontend SDK and chart utilities",
"main": "dist/index.js",
"module": "dist/es6/index.js",
Expand Down
2 changes: 1 addition & 1 deletion src/sdk/makeChart/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ export default ({

return Intl.NumberFormat(undefined, {
useGrouping: true,
minimumFractionDigits: isNaN(fractionDigits) ? unitsConversionFractionDigits : fractionDigits,
minimumFractionDigits: isNaN(fractionDigits) ? 0 : fractionDigits,
maximumFractionDigits: isNaN(fractionDigits) ? unitsConversionFractionDigits : fractionDigits,
}).format(converted)
}
Expand Down

0 comments on commit 597ab05

Please sign in to comment.