i use decimalformat 2 2 decimals line of code
decimalformat df = new decimalformat("#0.00");
my outputs example this
568,99 1090,33 12897,45 233567,77
how can set decimalformat output this?
568,99 1.090,33 12.897,45 233.567,77
is there way methods decimalformat this. codes these
df.setminimumfractiondigits(3); df.setmaximumfractiondigits(3); df.setminimumintegerdigits(1);
i never extended knowledge decimalformat, that's why i'm asking.
is possible decimalformat code? how?
is there better way?
i realized not nice dots. here example.
1.234.345,00
so changed empty space instead line...
decimalformat df = new decimalformat("###,###.00");
that created this
1 234 345,00
Comments
Post a Comment