Re: So...what if I wanted to do something like atof?
- Posted by Euman <euman at BELLSOUTH.NET> Dec 11, 2000
- 532 views
Try useing Value() to get the string conversion sequence entered_num entered_num = "1.2345" -- example atom a a = value(entered_num) s = atom_to_float32(a) That is if I'm right. euman at bellsouth.net BTW, Jiri said (past tense) RTFM. ----- Original Message ----- From: Jonas <jktemple at USMO.COM> To: <EUPHORIA at LISTSERV.MUOHIO.EDU> Sent: Monday, December 11, 2000 10:08 PM Subject: So...what if I wanted to do something like atof? > First of all, since this is my first post to this server, let me say > this... Do you know how many years it took me to get comfortable with > C/C++? Do you know how many days it took me to get comfortable with > Euphoria? 'nough said. > > Anyway, I have been working on a project using Euphoria and Win32Lib. I > have an edit control where I want the user to enter a price. I want to > convert and store that sequence as a floating point. In C++ I would have > probably used atof() to do that conversion. What is the functional > equivalent in Euphoria? > > Thanks for the help in advance. >