Page 1 of 1

PostPosted: Thu Feb 16, 2006 11:10 pm
by tonyhunterajh
I am having a problem with floats. This equation...


should give me a result of 15384.61538. It does not; rather, it gives me 1.5384615e04. Can PocketC handle calculations like this? Am I doing something wrong?


PostPosted: Fri Feb 17, 2006 11:37 am
by MN OrbUser
It has given the right answer, but in a different format than you were expecting. 1.5384615e04 = 1.5384615 * 10000 = 15384.615

To get the format you are expecting try

PostPosted: Fri Feb 17, 2006 11:46 am
by tonyhunterajh
Great! Thanks alot for your help.