comp.lang.ada
 help / color / mirror / Atom feed
From: mrpinga@my-dejanews.com
Subject: Converting Strings to Floats and/or Integers
Date: 1998/08/26
Date: 1998-08-26T00:00:00+00:00	[thread overview]
Message-ID: <6s11ju$2sq$1@nnrp1.dejanews.com> (raw)

Help me please!

I am supposed to be writing a commandline calculator for one of my courses
but i am having a little trouble... I desperately need to know how to convert
a string to a float or integer.

ie. if mystring := "4.56" i need to be able to convert this to myfloat := 4.56
or even going from mystring := "456" to myinteger := 456 would be a start.

any help you can offer would be much appreciated and save me alot of pain and
suffering...

also, please EMAIL me as I dont have a local news server and dejanews is a
pain to use... thanks...

Jared

-----== Posted via Deja News, The Leader in Internet Discussion ==-----
http://www.dejanews.com/rg_mkgrp.xp   Create Your Own Free Member Forum




             reply	other threads:[~1998-08-26  0:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-08-26  0:00 mrpinga [this message]
1998-08-26  0:00 ` Converting Strings to Floats and/or Integers Samuel Tardieu
replies disabled

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