comp.lang.ada
 help / color / mirror / Atom feed
From: "James S. Rogers" <jimmaureenrogers@worldnet.att.net>
Subject: Re: Number into String
Date: 2000/01/06
Date: 2000-01-07T02:07:15+00:00	[thread overview]
Message-ID: <853hoj$be5$1@bgtnsc02.worldnet.att.net> (raw)
In-Reply-To: 852k73$4p7$1@nnrp1.deja.com


reason67@my-deja.com wrote in message <852k73$4p7$1@nnrp1.deja.com>...
>In article <852dmq$vad$1@nnrp1.deja.com>,
>  Robert Dewar <robert_dewar@my-deja.com> wrote:
>> In article <852crn$umf$1@nnrp1.deja.com>,
>>   reason67@my-deja.com wrote:
>> > In article <851a0e$tp7$1@green.kreonet.re.kr>,
>> >   "Jeong, Lae Hyung" <lovelace@dreamwiz.com> wrote:
>> > >     I've found !!
>> > >
>> > >     S : String := Integer'Image(NUM);
>> >
>> > This thread is kinds fortunate for me to ask a question. I
>> often have
>> > the case where I need to put a number into a string of fixed
>> length.
>>

If you want truncation then use the Move procedure in Ada.Strings.Fixed

Jim Rogers
Colorado Springs, Colorado






  reply	other threads:[~2000-01-06  0:00 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-01-06  0:00 Number into String Jeong, Lae Hyung
2000-01-06  0:00 ` Jeong, Lae Hyung
2000-01-06  0:00   ` Robert A Duff
2000-01-06  0:00 ` Jeong, Lae Hyung
2000-01-06  0:00   ` reason67
2000-01-06  0:00     ` Robert Dewar
2000-01-06  0:00       ` reason67
2000-01-06  0:00         ` James S. Rogers [this message]
2000-01-06  0:00   ` Robert Dewar
2000-01-06  0:00 ` Richard D Riehle
2000-01-06  0:00 ` David C. Hoos, Sr.
  -- strict thread matches above, loose matches on Subject: below --
2000-01-06  0:00 mfeldman
replies disabled

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