hey everyone, ive been reading up on the multiply and divide funtions of PBP, not sure I understand this, it states that when it multiplys it actually does it as a 32bit number and spits it into two parts, not sure how this will help me. I need to multiply this set of numbers below, This is my max numbers.
Code:
A=20000
B=20000
C=A*B '400,000,000 (much larger than 65536)
D=C/1000 '400,000 (still too large)
Lcdout "Output=",Dec (D / 1000), ".", Dec3 (D // 1000) ' Displays (Output=400.000)
I know PBP3 has the long funtion, but hey I dont have PBP and wont be getting it soon.
So if anyone can help me with this....
Bookmarks