Hello All,
I need to format number 12345.00 to 12345, I use below code to do the format, but the
result is 12,345. Could please give some advice about how to delete the separator.
Thanks a lot.
NumberFormat nf= NumberFormat.getInstance();
nf.setMaximumFractionDigits(0);
nf.setMinimumFractionDigits(0);
((DecimalFormat)nf).setDecimalSeparatorAlwaysShown(false);
Regards,
Xiaojing
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]