Converting Strings to Integers and back


Converting a String to an integer:

    I : Integer := Integer'Value("613");

Converting an Integer to a string:

    S : String := Integer'Image(613);


Contributed by: David Botton
Contributed on: November 27, 1998
License: Public Domain
Back