Dear All
I'm simulating this simple maths on editor 5.2.7
let w0 = 913
let w1= w0 - 102
let w1= w1 *61
let w3= w1/100
let w2 =w1//100
I hoped w3 would be 494, but the simulator gives me 495.
w2 is correct as 71.
It seems to round up with some values
What I'm I doing wrong please?
I'm simulating this simple maths on editor 5.2.7
let w0 = 913
let w1= w0 - 102
let w1= w1 *61
let w3= w1/100
let w2 =w1//100
I hoped w3 would be 494, but the simulator gives me 495.
w2 is correct as 71.
It seems to round up with some values
What I'm I doing wrong please?