A simple question, but I bet that the question here will probably be more direct than trying to understand the documentation for MessageFormat :
long foo = 12345; String s = MessageFormat.format("{0}", foo);
The observed value is "12.345".
The required value is "12345".
java messageformat
Daniel Fortunov Dec 21 '09 at 19:32 2009-12-21 19:32
source share