From 1538972341b11d929b88fccd82cd730d17ff82d4 Mon Sep 17 00:00:00 2001 From: Shailesh Parmar Date: Tue, 8 Nov 2022 16:55:05 +0530 Subject: [PATCH] UI: Fixed Data is getting round off at the time of formatting in en-US (#8576) --- .../src/main/resources/ui/src/utils/CommonUtils.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/openmetadata-ui/src/main/resources/ui/src/utils/CommonUtils.tsx b/openmetadata-ui/src/main/resources/ui/src/utils/CommonUtils.tsx index a9e6b778081..330d22db9f0 100644 --- a/openmetadata-ui/src/main/resources/ui/src/utils/CommonUtils.tsx +++ b/openmetadata-ui/src/main/resources/ui/src/utils/CommonUtils.tsx @@ -786,9 +786,7 @@ export const showPagination = (paging: Paging) => { }; export const formatNumberWithComma = (number: number) => { - return new Intl.NumberFormat('en-US', { maximumSignificantDigits: 3 }).format( - number - ); + return new Intl.NumberFormat('en-US').format(number); }; export const formTwoDigitNmber = (number: number) => {