I've been having problems working with floating point variables.  Here's
an example:

double test1 = 0.2;
int test2 = 5;

StrIToA(debugstring1,0.2>5);
StrIToA(debugstring2,test1>test2);


When I print out debugstring1 and debugstring2 I get the following:

debugstring1=0  // 0.2>5 is correctly evaluated at compile-time to 0
debugstring2=1  // test1>test2 is incorrectly evaluated at run-time :(


That seems kind of messed up.  Does anyone know what's going on?  I'm
using prc-tools with sdk3.5 on cygwin running on windows98.  I'm using
PalmOS v3.3

Thanks,
-Nathan


-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/

Reply via email to