I need to format big decimal mumber in a required format For eg If we have number precision like(4,2) and we have munber like 12344.20000 then the output should be 1234.20 But if we have number like 12344.0000 then the ouput should be 1234.00 i can't use strip traillingZero method as it will strip all the decimal digits ...help me Guys... ...