Hello,
i have a problem with a calculation. here's the code:
@double newpos = ev->x() / 90;@
for example ev->x() is returning '20', then newpos will be 0! its always 0!
i also tried this:
@double newpos = 20 / 90;@
and the result is still always 0!
i have no idea why... please help me!
thanks!