Then look in the newfloatmgr.h file.  I remember it being a 2 step process.
Convert the string to an old float structure, then transfer it to a regular
float.  I don't remember a using direct strtof function.



-----Original Message-----
From: Freeman, Barry <[EMAIL PROTECTED]>
To: '[EMAIL PROTECTED]' <[EMAIL PROTECTED]>
Date: Thursday, August 26, 1999 9:53 AM
Subject: RE: Float question (newbie)


>Umm, I need it the other way round, Field.text (string) to a manipulable
>float that I can do arithmetic on.
>
>BAzz
>
>> -----Original Message-----
>> From: Dave Lippincott [mailto:[EMAIL PROTECTED]]
>> Sent: 26 August 1999 14:14
>> To: [EMAIL PROTECTED]
>> Subject: Re: Float question (newbie)
>>
>>
>> Sorry but the API will convert a float to a string only in scientific
>> notation format.  If you need something different, you will
>> have to write
>> your own routines.  A couple of people posted some code
>> examples here a few
>> months ago, search the list archives to get a copy.
>>
>>
>


Reply via email to