From c64504a14dfdc2c8285ff1d87d0065f87dec6cab Mon Sep 17 00:00:00 2001 From: helloklyn Date: Tue, 7 Sep 2021 10:27:25 -0400 Subject: [PATCH] [fix]: 4 to 2 decimal round up --- preview/big-number-trend/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/preview/big-number-trend/main.js b/preview/big-number-trend/main.js index 6fa3370..791c46c 100644 --- a/preview/big-number-trend/main.js +++ b/preview/big-number-trend/main.js @@ -318,7 +318,7 @@ const visObject = { + '
' + '
' + '
' - + '

' + humanReadableNumber(percentageNumber(asOfDateValue.toFixed(2), config.is_percentage_number),config.is_human_readable) + "

", + + '

' + humanReadableNumber(percentageNumber(asOfDateValue.toFixed(4), config.is_percentage_number),config.is_human_readable) + "

", align: "left", }, subtitle: {