Possible Duplicate:
How to format a decimal
I need to format a decimal like the following:
63.000 -> 63
63.045 -> 63.045
63.020 -> 63.02
But look at above, check the first one, if in decimal part there are only zeros, I need to remove those zeros for just 63.