From ab9a5577d9654312a93bf4806f46e6495c48344a Mon Sep 17 00:00:00 2001 From: Franta Pribyl Date: Mon, 27 Oct 2014 12:31:51 +0100 Subject: [PATCH] =?UTF-8?q?BigDecimal=20nyn=C3=AD=20pro=20form=C3=A1tov?= =?UTF-8?q?=C3=A1n=C3=AD=20p=C5=99eb=C3=ADr=C3=A1=20locales=20klienta/proh?= =?UTF-8?q?l=C3=AD=C5=BEe=C4=8De.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit closes #165 --- .../info/bukova/isspst/ui/BigDecimalConverter.java | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/src/main/java/info/bukova/isspst/ui/BigDecimalConverter.java b/src/main/java/info/bukova/isspst/ui/BigDecimalConverter.java index 87257978..6d72a668 100644 --- a/src/main/java/info/bukova/isspst/ui/BigDecimalConverter.java +++ b/src/main/java/info/bukova/isspst/ui/BigDecimalConverter.java @@ -3,11 +3,13 @@ package info.bukova.isspst.ui; import java.math.BigDecimal; import java.text.DecimalFormat; import java.text.ParseException; +import java.util.Locale; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.zkoss.bind.BindContext; import org.zkoss.bind.Converter; +import org.zkoss.util.Locales; import org.zkoss.zk.ui.Component; public class BigDecimalConverter implements Converter @@ -23,7 +25,8 @@ public class BigDecimalConverter implements Converter