This may be a easy question but i am not able to find the logic.
I am getting the values like this
12.010000 12.526000 12.000000 12.500000
If i get the value 12.010000 I have to display 12.01
If i get the value 12.526000 I have to display 12.526
If i get the value 12.000000 I have to display 12
If i get the value 12.500000 I have to display 12.5
Can any one help me out please
Thank You