This is an automated email from the ASF dual-hosted git repository.
aharui pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git
The following commit(s) were added to refs/heads/develop by this push:
new 7ee42e0 support precision in NumberFormatter. Fix for #713
7ee42e0 is described below
commit 7ee42e02e617cf9c1a1a945430437703708e588d
Author: Alex Harui <[email protected]>
AuthorDate: Fri Feb 14 19:34:05 2020 -0800
support precision in NumberFormatter. Fix for #713
---
.../projects/MXRoyale/src/main/royale/mx/formatters/NumberFormatter.as | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/frameworks/projects/MXRoyale/src/main/royale/mx/formatters/NumberFormatter.as
b/frameworks/projects/MXRoyale/src/main/royale/mx/formatters/NumberFormatter.as
index 91fd4be..bf47e43 100644
---
a/frameworks/projects/MXRoyale/src/main/royale/mx/formatters/NumberFormatter.as
+++
b/frameworks/projects/MXRoyale/src/main/royale/mx/formatters/NumberFormatter.as
@@ -618,7 +618,7 @@ package mx.formatters
numStr.substring(numStr.indexOf(".") + 1);
}
- // numStr = dataFormatter.formatPrecision(numStr, int(precision));
+ numStr = dataFormatter.formatPrecision(numStr, int(precision));
// If our value is 0, then don't show -0
if (Number(numStr) == 0)