It has officially been decided that numbers that end with zeroes are boring. They might be fun in your world, but definitely not here. Implement a function to eradicate any trailing zeroes. If the given number is 0, just leave him alone. Poor guy anyway.
1450 -> 145
960000 -> 96
1050 -> 105
-1050 -> -105
Want to propose a challenge idea for a future post? Email email@example.com with your suggestions!