mozilla-b2g/gaia — pull request #6898 by darkwing (2012-12-07 22:02:44+00:00)
Title: fix bug 814608 - Remove unwanted trailing zeros

https://bugzilla.mozilla.org/show_bug.cgi?id=814608

Prevents calculated numbers from looking like "12.100". I didn't change the formatNumber method to do the string and zero removal because we may want to get that raw number in another operation down the line.

Let me know if any updates are desired.