I have number like 24 and I need to return like result 24.0. How can I do this think.
I try with this code but is return 24. If is 24.5 is working correct but for 24 is return like integer.
double sliderValue = Math.round(number*10)/10;
Anybody know how can return 24.0