Steve,

> Have you done straight typecasting?  Here is an example:
>
> Int32 i = 230000; // any number
> double a = (double) i;
> double b = Sqrt(a); // any Mathlib function that takes doubles
> Int32 j = (Int32) b;

Doh! That worked like a charm. Forest for the trees....

I had to copy a bunch of stuff out of MathLib and make a few changes, but
that did the trick. Thanks a lot for your help!

Tom


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palm.com/devzone/mailinglists.html

Reply via email to