over-flow
I need figure out this arithmetical formula with PBASIC 2.5 (BS2p24):
P = 1000*(1+(1000000/(75*n)))
where "n" is variable
but PBASIC says that constant 1000000 exceeds 16 bit. Is there any possibility how to figure it out?
P = 1000*(1+(1000000/(75*n)))
where "n" is variable
but PBASIC says that constant 1000000 exceeds 16 bit. Is there any possibility how to figure it out?
Comments
1000 + 1000*(13333/n) + (1000/(3*n)) =
1000 + 1000*(13333/n) + (333/n)
regards peter