posted 15 years ago
Hi All,
I want a method to remove all zero after decimal place. For example -
remZero(100.00) should return 100
remZero(100.0037) should return 100.0037
remZero(100.3700) should return 100.37
Any help would really appriciated.
Thanks
Regards
SaurabhSri (SCJP 1.5)