This may be a simple question, but I cannot find the logic.
I get values ββlike this
12.010000 12.526000 12.000000 12.500000
If I get the value 12.010000, I should display 12.01
If I get the value 12.526000, I need to display 12.526
If I get the value 12.000000, I need to display 12
If I get a value of 12.500000, I should display 12.5
Can someone help me please
thanks
source share