niteshpatel / ministocks

Android Stocks Widget
http://niteshpatel.github.io/ministocks
MIT License
53 stars 37 forks source link

Stocks with a value under 10 can show too many decimal places after reboot #45

Closed niteshpatel closed 8 years ago

niteshpatel commented 8 years ago

When a quote has a value less than ten, e.g. 1.34 it can show extra decimal places after boot, for example 1.3400 instead of 1.34 even if the incoming source data only has 2 decimal places.

We should not use more decimal places than supplied in the source data.