I have problem, probably with some types mismatch (
Slider range is set by
24.00f, and step is set to
And when I set by text box editor value
0, then in
sliderValueChanged() when I use:
float value = mySlider.getValue();
value = -0.000000536441803
I also tried:
float value = (float)mySlider.getValue();
but I get the same result.
Why is that? How to prevent it? Do I need to write my own method that round float to two decimal places after comma?
For any help great thanks in advance.