Oh and I tried it as a double, which I know is 8 bytes, but it STILL
basically turns negative after 32768 ( 8 ^ 5)... Any ideas??
Thanks,
Jason
JF <[EMAIL PROTECTED]> wrote in message news:57098@palm-dev-forum...
>
> Is there a way to get either an unsigned float or a double-length float?
> Either 4 unsigned bytes or 8 signed bytes (instead of 4)?
>
> My app calculates an order total dollar amount, and if it's too big, goes
> into negative.. So I either need to reserve more bits for positive
numbers,
> or find a way to use the existing ones better.
>
> For example, I only need accuracy to 2 decimal places. Is there a way to
> declare it so only 2 decimal places are recorded and the rest of the bits
> are used for the whole number portion?
>
> Thanks!
> Jason
>
>
>
>
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/