Jim McGowen wrote:
Found something strange... Looks like Palm OS 5 changes certain numbers multiplying. For example:
  double x = 0.141;
  long y = (long)( x * 10000.0 );

y becomes 1409.


It's related to the limited resolution of floats I guess. Have you searched google for such problems? Isn't related to PDA's at all.

Regards
Henk
--
-------------------------------------------------------------------------
  Henk Jonas                                            [EMAIL PROTECTED]
  Palm OS ® certified developer

  Please contact me, if you need an off-site contract worker.
-------------------------------------------------------------------------

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

Reply via email to