result 50*4095/100 is 2047
result (4095/100)*50 is 2000
the calc follows typical bodmas rules (brackets, of , divide .....) see precedence in manual
the only 'suprising' bit is that the indermediate result (50*4095) is 204750 way too big for a word var. the pbp compiler code does indeed use 32 bit intermediate results.
the */ and ** operators allow you access these 32 bit results (providing you follow the rules of course)
Bookmarks