Quote Originally Posted by CrazyCooter View Post

MY CODE WILL NOT COMPILE WITH THIS LINE
AD_RESULT = (ad_raw *0.48828) - 273.15

Had to do it this way
ad_result = (ad_raw * 48828)/1000
ad_result = ad_result/100
ad_result = (ad_result *27315)/100
WHY????????????????????????????????????????
HMMMMMMM very frustrating
What do you mean why? Did you read the post earlier? Did you really read it? Let me quote one line from that earlier post:

"Did you read the MANUAL ????

Didn't find any reference as to that PBP is NOT supporting floating maths ???"

How many times do we have to point out to you that PBP does not support floating point math! And if you don't understand the term 'floating point', well, quite frankly 'floating point' means that the decimal is 'floating'...it can move wherever it needs to go according to the math being performed!
PBP DOES NOT SUPPORT FLOATING POINT MATHS! The decimal point is stuck in one place, all the way to the right, no matter what you do, the decimal point will always be to the right...no fractions, no tenths, no hundreths, no nothing. If you divide 10 by 3, you'll get 3, nothing more nothing less. If you use the remainder function, yes, in the case above, you'll get a 1 from it, but it's still not FLOATING POINT...

Somebody get me a drill!!!