Hi I am using wicket 1.3.2 and it seems the Double Converter is broken for
the Vietnamese language. How would I get round this?. It keeps on adding an
extra zero.
IConverter iConverter = new DoubleConverter();
String valueStr = 99.0;
Double convertValue = (Double)
For the vi locale, . is the radix mark and , is the decimal mark. So
99,0 is 990. See this:
Double doubleValue = new Double(999.999);
String convertString = iConverter.convertToString(doubleValue,
newLocale(vi));
System.out.println(Double value: + doubleValue +