"Young S. Cho" <[EMAIL PROTECTED]> wrote in message
news:44848@palm-dev-forum...
>
> Okay - I'm trying to do simple math here.  I have a floating point
number in
> string format.  I first attempt to convert from ASCII to Float using
> FplAtoF().  Multiply the result by 5.5.  Then convert the result to
Long.
> However, I get a compile error saying that FplAToF() and
FplFloatToLong()
> has no prototype.  Now I thought that FplAToF() and FplFloatToLong()
are
> provided by the Palm float library.  I included the float manager
(#include
> <FloatMgr.h>), but no luck!

Have you looked at the FloatMgr.h file?  The prototypes are for
"FlpAToF", but your code is using "FplAToF".  The 'p' and 'l' are
transposed.  This would be caught at compile time (with CodeWarrior) if
you with on the "Require Function Prototypes" switch, something I highly
recommend.
--
Ben Combee, [EMAIL PROTECTED]
Techwood Broadcasting Foundation, Austin Bureau



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to