comp.lang.ada
 help / color / mirror / Atom feed
From: pascalo@cln46ac.world (Pascal OBRY)
Subject: Re: Need help:Convert Number String to Integers?
Date: 27 Feb 1995 11:02:50 GMT
Date: 1995-02-27T11:02:50+00:00	[thread overview]
Message-ID: <PASCALO.95Feb27120250@cln46ac.world> (raw)
In-Reply-To: mcclaug1@muvms6.wvnet.edu's message of 24 Feb 95 11:04:51 EDT


Steven,

It's easy, Ada provide the attribute Value that does what you want :

	v : Integer := Integer'Value ("144323433");

Image is the oposite attribute :

	s : String := Integer'Image (144323433);

Pascal.
--

--|---------------------------------------------------------------
--| Pascal OBRY			e-mail: pascal.obry@der.edf.fr   |
--| EDF-DER-IPN-SID-ISI					         |
--| Bureau G1-010			voice: +33-1-47.65.50.91 |
--| 1 Av General de Gaulle				         |
--| 92141 Clamart CEDEX		     			         |
--| FRANCE			     			         |
--|---------------------------------------------------------------



  reply	other threads:[~1995-02-27 11:02 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-02-24 15:04 Need help:Convert Number String to Integers? mcclaug1
1995-02-27 11:02 ` Pascal OBRY [this message]
1995-02-28  6:55 ` Bjorn Kallberg
replies disabled

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