alistairdickie/BlueFlyVario_Android — pull request #1 by kl7107 (2013-08-13 23:51:08+00:00)
Title: Rewrote handling of "-0.0" strings to be locale independent.

Hi, I have my HTC One X Android phone set to the Swedish locale. Small negative values are displayed as "−0,0" where there's both a decimal comma instead of a decimal point, and also the minus sign is a special unicode character.

I think I found a way to handle the different locale cases gracefully with this code change. It should also handle any number of decimals (not tested). It seems to work on my phone and I believe it is bug free, but I can't guarantee that since I'm new to Java and Android / ARM.

Hopefully this patch is useful, but don't hesitate to reject it if it needs more work.

Best regards, Krister