Copying values in calculator mixes up decimal separator and digit group separator
How to reproduce:
In calculator, type in 1337=
This gives you a result of 1,337. Now press and hold on the result and select copy. When you hit paste, instead of 1,337 you get 1.337 (one point three three seven instead of one thousand three hundred and thirty seven).
Running on Xperia X with Sailfish 2.2.0.29. Language is set to English (UK) in case that makes a difference in how the decimal separator is handled.
Error is still there in 3.3.016
AkiBerlin ( 2020-06-15 13:23:22 +0200 )editMaybe the problem depends on language setting. Some have colon as 1,000 seperator, others have dot as 1.000 would be correct. So maybe cooy or paste does not respect the language setting
SaimenSays ( 2020-06-17 10:30:09 +0200 )edit@SaimenSays Number presentation of the input is one problem, the other is that Calculator copies the shown result string to Clipboard, not the value.
hsjpekka ( 2020-06-17 16:44:13 +0200 )edit@hsjpekka
but that is only half of the mess :)
The string should then not convert a comma into a dot, or?
Love your patch!
peterleinchen ( 2020-06-17 21:21:28 +0200 )edit