comp.lang.ada
 help / color / mirror / Atom feed
From: dewar@merv.cs.nyu.edu (Robert Dewar)
Subject: Re: Newbie Q: Zero fill in Put
Date: 1997/09/04
Date: 1997-09-04T00:00:00+00:00	[thread overview]
Message-ID: <dewar.873420651@merv> (raw)
In-Reply-To: 340B809C.24AE@home.com


<<How do I make it output with leading zeros,
eg: 02, 002, 00000002, etc?  The width parameter
seems to only fill with spaces.>>

If you are using GNAT, which fully implements the information systems
annex, then consider using Ada.Text_IO.Editing with an appropriate
picture string.






  parent reply	other threads:[~1997-09-04  0:00 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-09-01  0:00 Newbie Q: Zero fill in Put Larry Coon
1997-09-02  0:00 ` John Herro
1997-09-02  0:00 ` Jacob Sparre Andersen
1997-09-05  0:00   ` Robert Dewar
1997-09-03  0:00 ` Pascal Obry
1997-09-04  0:00 ` Robert Dewar [this message]
1997-09-08  0:00 ` Larry Coon
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox