Printing number with leading space instead of zero or nothing?
- From: "Johannes Beekhuizen" <jbeekhui@xxxxxxxxxxxxxxxxxx>
- Date: Wed, 31 Aug 2005 15:24:20
Hallo,
I like to show a number as e.g. " 8" instead of "8" or "08". I looked at
text.DecimalFormat, but did not find a way to do it.
Is there a way exceopt using an if-statement?
Groetjes,
Hans.
.
- Follow-Ups:
- Re: Printing number with leading space instead of zero or nothing?
- From: TechBookReport
- Re: Printing number with leading space instead of zero or nothing?
- Prev by Date: Re: Good books for a complete beginner!
- Next by Date: Re: Need tool that finds all types of a certain scope...
- Previous by thread: Help w/ MouseListener (MasterMind)
- Next by thread: Re: Printing number with leading space instead of zero or nothing?
- Index(es):
Relevant Pages
|