check number and remove leading zeros

Viewed 24070

I want to check a variable in ruby to see if it has two leading zeros (00) If it does the 00 should be removed

How can this be done

5 Answers
Related