When converting a double to a string,
this constant indicates that the result should always
contain a period even if there is no digits following the period
[...].
When converting a double to a string,
this constant indicates that the result should always
contain a period even if there is no digits following the period
[...].
If you are using the same format string over and over again, then use
this (precompiled) version of a format string to increase speed
[JDK1.0.2 compatible].
When converting a character to a string with a specified minimum width,
this constant says that the result should be filled up width leading
zero, i.e.
When converting a number to a string,
this constant says that the result should contain a negative sign if
value is less than zero, otherwise a space should occupy the sign position.
When converting a double to a string with specified precision,
this constant indicates that the value of the precision specifies
the number of significants
[...].
When converting a double to a string with specified precision,
this constant indicates that the value of the precision specifies
the number of significants
[...].
When converting a double to a string,
this constant indicates that the result should suppress
the period if there is no digits following the period
[...].
When converting a double to a string,
this constant indicates that the result should suppress
the period if there is no digits following the period
[...].
With this method you can align a string to the left, to the right or
towards the center with space or ANY other character inserted to the
left and to the right of the original string.