Re: So...what if I wanted to do something like atof?
- Posted by cense <cense at MAIL.RU> Dec 11, 2000
- 523 views
On Mon, 11 Dec 2000, Jonas wrote: >> 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? You are prolly looking for the routines float32_to_atom and float64_to_atom, both of which are described in library.doc. These routines both take a sequence of 4/8 bit representations of a float and return an atom. but im not sure if this is what you are looking for. >> Thanks for the help in advance. You better wait with that until someone who really knows what they are talking about answers your question :) -- evil, corruption and bad taste ^[cense]