mausmb 13 Posted November 25, 2018 Hi, Any ideas how to enable EU decimal behaviour in Rio ? In both versions FloatToStr returns number with ',' NumberPad Delphi 10.2.3 behaviour : you can enter ',' or '.' (comma is for EU right choice) Delphi 10.3 behaviour : Android keyboard displays ',' and '.'., but Enter ',' or '.' is not possibile DecimalNumberPad Delphi 10.2.3 behaviour : you can enter ',' or '.' (comma is for EU right choice) Delphi 10.3 behaviour : Android keyboard displays ',' and '.'. Enter is possibile. Entaer is ONLY for '.' , regardless that dispaly is with ',' Regards, Marjan Share this post Link to post
mausmb 13 Posted November 28, 2018 Another/same issue with TNumberBox. With local EU settings you can enter decimal number, but on exit is without decimal ... exmaple enter 2,5 on exit is 25 ! 😞 br, Marjan Share this post Link to post
David Heffernan 2345 Posted November 28, 2018 No such thing as EU decimal behaviour. Different countries in the EU have different locale settings. 1 Share this post Link to post
mausmb 13 Posted November 29, 2018 (edited) 19 hours ago, David Heffernan said: No such thing as EU decimal behaviour. Different countries in the EU have different locale settings. That's not true at all 🙂 Maybe "EU decimal behaviour is wrong expression...maybe "locale settings not working (properly) with TNumberBox and Tedit. TnumberBox not working at all (enter 2.5 and Tnumberbox converts to 25 !). On Android : 1. Tnumberbox display decimal numbers with comma (","). 2. when you enter decimal number you have to press DOT (".") - that's contra intuitive for user when COMMA is displayed 3. When you enter 2.5 Tnumberbox converts to 25 There is such a thing :-) (The 22nd General Conference on Weights and Measures declared in 2003 that "the symbol for the decimal marker shall be either the point on the line or the comma on the line") examples (all EU countries and Canada w/o UK - if UK is EU country 🙂 using COMMA as decimal separator): https://docs.oracle.com/cd/E19455-01/806-0169/overview-9/index.html https://en.wikipedia.org/wiki/Decimal_separator TestNumbers.zip Edited November 29, 2018 by mausmb Share this post Link to post