I am doing an app where I want the number that is displayed to always have one decimal. So if I add 0.5 every time I click the mouse button it should be like:
But what happens now is:
How can I force it to always have one decimal even on the even numbers?
I tried to just * with 1.0 but that does not work..