Re: Printing number with leading space instead of zero or nothing?



Hallo Pan,

Op 31 Aug 05 schreef TechBookReport aan All:

>> I like to show a number as e.g. " 8" instead of "8" or "08".
T> Take a look at printf, added to Java 1.5/5.0.

Beautiful! Thank you very much.

Groetjes,

Hans.


.



Relevant Pages

  • Re: Why do I get no IO exception ?
    ... Op 06 Jan 06 schreef zero aan All: ... z> the java executable exits, this code doesn't care about the rest of the ... Groetjes, ... Prev by Date: ...
    (comp.lang.java.programmer)
  • Re: pinpoint desk location
    ... for the book are provided in two languages, I think Java and C++. ... been able to find the book for a few years, but there is a web site in which ... Prev by Date: ...
    (microsoft.public.vb.winapi)
  • A quand un referendum Pan Canadien Sur la Peine de mort?
    ... Le criss de fou ou le juge qui l'a lache (loose) ... Java ... Prev by Date: ...
    (soc.culture.quebec)
  • Re: Ladies and Gentlemen
    ... The most beautiful thing anyone can wear, is a smile! ... Prev by Date: ...
    (comp.sys.acorn.misc)
  • Re: How to call DOS cmd?
    ... which should save me much time to re-invent the wheel in java - if I'm ... Prev by Date: ...
    (comp.lang.java.programmer)