number format in java code example
Example: formatting and parsing numbers
Formatting is converting a date, time, number, message or other object from
its internal representation into a string. Parsing is the reverse operation.
It is the process of converting a string to an internal representation of the
date, time, number, message or other object.