Stock Glance uses push notifications to send you the latest stock price of your choice. When I did initial testing, to see if this was feasible, I got mixed results. When I try to set the application badge from the app, it would automatically round the value (7.68 would show up as 7). To my surprise, though, when I set the application badge from a push notification, the decimals showed up perfectly (see first image). I went forward with building out Stock Glance and everything worked great... until iOS5 came out.
In updating my apps for the new os, I noticed that my badge push notifications were now getting truncated. The odd thing, though, is that on iOS4 devices the full number with decimal value still shows up. So the change must be in the way it's interpreted by the OS, rather than the push notification servers themselves.
To get around this, I now have to do an OS check before I push out the latest stock price and if you are iOS5 17.68 gets sent as 1768 and if you are on anything earlier than iOS5, you get sent 17.68. Not exactly happy about that experience, but it's all I could do with the change that apple made.
I don't know why Apple made that change, but I can't really do anything about it (other than filing a bug report). Does anybody know if it affected any other apps?