This is an automated email from the git hooks/post-receive script. New commit to branch develop in repository jaxx. See http://git.nuiton.org/jaxx.git commit aa6013887294ed8d9398a4b0b64e64b241707221 Author: Tony CHEMIT <chemit@codelutin.com> Date: Thu Jan 1 18:47:41 2015 +0100 reduce number of digit to avoid bad rounding (should do better than that...) --- .../java/org/nuiton/jaxx/widgets/number/NumberEditorHandler.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/jaxx-widgets-number/src/main/java/org/nuiton/jaxx/widgets/number/NumberEditorHandler.java b/jaxx-widgets-number/src/main/java/org/nuiton/jaxx/widgets/number/NumberEditorHandler.java index f6f1a29..8da7d17 100644 --- a/jaxx-widgets-number/src/main/java/org/nuiton/jaxx/widgets/number/NumberEditorHandler.java +++ b/jaxx-widgets-number/src/main/java/org/nuiton/jaxx/widgets/number/NumberEditorHandler.java @@ -631,10 +631,10 @@ public class NumberEditorHandler implements UIHandler<NumberEditor> { }; numberFactories.put(long.class, longSupport); numberFactories.put(Long.class, longSupport); - + NumberParserFormatter<Float> floatSupport = new NumberParserFormatter<Float>() { - final DecimalFormat df = new DecimalFormat("#.######################"); + final DecimalFormat df = new DecimalFormat("#.##########"); @Override public String format(Float numberValue) { @@ -682,7 +682,7 @@ public class NumberEditorHandler implements UIHandler<NumberEditor> { NumberParserFormatter<Double> doubleSupport = new NumberParserFormatter<Double>() { - final DecimalFormat df = new DecimalFormat("#.######################"); + final DecimalFormat df = new DecimalFormat("#.##########"); @Override public String format(Double numberValue) { -- To stop receiving notification emails like this one, please contact nuiton.org SCM administrator <admin+scm@nuiton.org>.