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.
I know PBP3 has the long funtion, but hey I dont have PBP and wont be getting it soon.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)
So if anyone can help me with this....


 
		
		 
			 
			 
			 
					
					 Math problem with PBP 2.6 and 18F4550, large numbers
 Math problem with PBP 2.6 and 18F4550, large numbers
		 
						
					



Bookmarks