comp.lang.ada
 help / color / mirror / Atom feed
From: icsjp318@gemini.oscs.montana.edu (Aaron Diesen)
Subject: Easy way to read FLOAT?
Date: 27 Jan 1995 10:39:55 GMT
Date: 1995-01-27T10:39:55+00:00	[thread overview]
Message-ID: <3gaihr$hak@pdq.coe.montana.edu> (raw)

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1017 bytes --]

Hi-

I am working on my first ada program, and I need to read a float.  I ran 
into problems when trying to input an integer into a float variable 
(works in other languages).  Do I need to make an 'exception', or is 
there another way to get around this?  (A new type that includes all the 
integers and all the floats?)  I know I should probably make it a string, 
for safety purposes, but I don't think the teacher wants that.  BTW, I could 
not find a FAQ, so don't flame me.

                    .end.
� MUD �                               � MUD �       
-------                               -------
�                  e-m�il:                  � 
�     icsjp318@gemini.oscs.montana.edu      �
�                                           �
�      Other accounts you can e-mail        �
� or finger if you want to waste your time: �
�      icsia110@msu.oscs.montana.edu        �
�       gad7822@msu.oscs.montana.edu        �
---------------------------------------------





             reply	other threads:[~1995-01-27 10:39 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-01-27 10:39 Aaron Diesen [this message]
1995-01-27 14:38 ` Easy way to read FLOAT? Norman H. Cohen
1995-01-29 11:49 ` Andre Spiegel
replies disabled

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