06-26-2006, 03:45 PM
I have a problem calculating a simple arithmetic expression:
double dSize
out 1 + dSize/100
where dSize = 10
gives me 0.11 instead of 1.1
It seems to be as if QM has divided the 1 by the 100 and added it to the result of dSize/100.
Am I going crazy?
Could there be any problem with parsing? I can send you my file if you like. It is still my Freehand mouse zooming program. (I am adding proportional zoom. Makes sense: if you are at 20% zoom, then zoom minus 10% is a bit too much...)
tia
Avraham
double dSize
out 1 + dSize/100
where dSize = 10
gives me 0.11 instead of 1.1
It seems to be as if QM has divided the 1 by the 100 and added it to the result of dSize/100.
Am I going crazy?
Could there be any problem with parsing? I can send you my file if you like. It is still my Freehand mouse zooming program. (I am adding proportional zoom. Makes sense: if you are at 20% zoom, then zoom minus 10% is a bit too much...)
tia
Avraham