Skip to content

Commit

Permalink
[fix]: 4 to 2 decimal round up
Browse files Browse the repository at this point in the history
  • Loading branch information
helloklyn committed Sep 7, 2021
1 parent 2ebab4f commit c64504a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion preview/big-number-trend/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ const visObject = {
+ '<br>'
+ '<br>'
+ '<br>'
+ '<p class="highcharts-metrics-value-latest">' + humanReadableNumber(percentageNumber(asOfDateValue.toFixed(2), config.is_percentage_number),config.is_human_readable) + "</p>",
+ '<p class="highcharts-metrics-value-latest">' + humanReadableNumber(percentageNumber(asOfDateValue.toFixed(4), config.is_percentage_number),config.is_human_readable) + "</p>",
align: "left",
},
subtitle: {
Expand Down

0 comments on commit c64504a

Please sign in to comment.