"A Rafiee" <[EMAIL PROTECTED]> wrote in message news:31406@palm-dev-forum...
>
> I am trying to cast a long to a float and I end up
> with 0 as the float value :
>
> long V1 = 1000;
> float V2 = V1;
>
> the value in V2 is 0.

Are you using CodeWarrior?

If so, does your "68K Processor" panel have floating point type set to
"PalmOS"?



-- 
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