Do anyone have an idea of this behaviour???
Code:
cout << Density << "\n"; //this print 0.13 float f = Density*100; slider1->setValue(f); //this set slider1 to 12!!!! why????
Code:
float f = 0.13*100; slider1->setValue(f); //this set slider1 to 13