i have a question regarding the Qt.locale and the decimal point running the simulator. When i execute
the following code in the Virtualbox Simulator
var locale = Qt.locale() console.log("locale is : " + locale.name) console.log("locale point is : " + locale.decimalPoint)
i get the following output which strikes me as wrong:
[D] onDone:123 - locale is : en_US [D] onDone:124 - locale point is : ,
So for the en_US locale i am getting a “,” as decimal separator and not a “.” as i would have expected.
Also all the numbers are rendered with a comma as separator. However the on screen keyboard show the “.” as a decimal separator when i use a text field with inputMethodHints: Qt.ImhDigitsOnly.
This basically means that i am not able to enter amounts with fraction digits because of the separator is not properly parsed via
This is somehow not consistent. Any ideas?