Identifying digits inside apostrope

Not exactly rounding up,

  1. For 74.5564000 I want the result as 74.5564 (0’s occuring multiple times should not be displayed)

  2. For 99060.00 I want the result as 99060

I hope I am able to make you understand.