Displaying Numbers different Regions

Great work on making app work with others regions. The “xojo.Core.Locale.Current” output works perfect!

Once I changed by separator from a comma everything fell into place perfectly! (rookie mistake). Is there a preferred variable or output seperator?

Display and tables for numbers look good with essential no effort in US or German (region)!


I spoke to soon. Using a Mobile Text field to input number in German region I am loosing the decimal portion of the entry. Example text field contains 70,3 when I transfer to number I get 70,0. Anything special I need to do ? Do I have to change to decimal point before using as number?

Can you show your code?

I just replaced comma with decimal point and all us well. Should have figured the conversion just takes place on the output.

Forum for Xojo Programming Language and IDE. Copyright © 2021 Xojo, Inc.