@wavemaker/app-ng-runtime 11.5.1-rc.5429 → 11.5.1-rc.5433

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -472,7 +472,7 @@ const removeTrailingZeros = value => {
472
472
  // Convert value to a string if it's a number
473
473
  const stringValue = typeof value === 'number' ? value.toString() : value;
474
474
  // Remove trailing zeros
475
- return stringValue.replace(/\.0+$/, "");
475
+ return stringValue.replace(/\.*0+$/, "").replace(/\.0+%$/, "%");
476
476
  };
477
477
  // Formats the given value according to number format
478
478
  const getNumberFormatedData = (numberFormat, d) => {