> FlpAToF seems very permissive. Even a string with a mere dot returns
> 0.0. I was hoping to test such cases with Mathlib's isnan(), but it
> looks like I'll have to write my own float validation function :(

this is consisten with the other functions:

  StrAToI("Hello");

also returns 0 - basically, the code is done such that the value
starts off as a value of zero, then, if a number if found, its parsed.
if the FlpXXX library has a constant NaN, then, it should return that
if there isn't a valid number in place.

---
Aaron Ardiri
[EMAIL PROTECTED]
http://www.mobilewizardry.com/members/aaron_ardiri.php [profile]

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

Reply via email to