Hi All, I have some code like followed:

    doubled=9.02;
d/=0.02;
inti=static_cast<int>(d);
qDebug()<<d<<i;

the result is 451 and 450, but I want  'i' be 451 too, how?  
thanks in advance


_______________________________________________
Interest mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to