Paul Stat wrote:
the flags seems to imply you can have multiple flags, if however I try the following it causes an exception. Can only one flag be set at a time?
It throws "IllegalFormatFlagsException: Flags = '-0'", and what are you doing, is something illogical and can't be used, like the flag "0", padded with zeroes, fills the
empty left hand side space with zeroes and
at the same time you are telling JVM, to display that numbers from left.. How can this two things possible at the same time, that's why "
IllegalFormatFlagsException: Flags = '-0'" exception..
When I tried the
other flag combination, It works..
[Wrong exception written]