IJavaFormattedNumber javaFormattedNumber = javaNumberFormat.formatNumber(9.9);
String value = javaFormattedNumber.getFormattedNumber();
Assert.assertEquals("9,900", value);
javaNumberFormat = new JavaNumberFormat("#,0#");
javaFormattedNumber = javaNumberFormat.formatNumber(1234.567);
value = javaFormattedNumber.getFormattedNumber();
Assert.assertEquals("1234,57", value);
javaNumberFormat = new JavaNumberFormat("[<=4][GR�N]#.##0,00 \"�C kalt\";[>7][ROT]#.##0,00 \"�C\";[BLAU]#.##0,00 \"�C\"");
javaFormattedNumber = javaNumberFormat.formatNumber(-10);