LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to convert string to numeric for US and Europe PCs

Does anyone know a good way to convert a string to a numeric that will work on both US and European PCs.  The comma / decimal substitution is creating problems.
0 Kudos
Message 1 of 4
(3,030 Views)
LabView will automaically convert numerics accoring to the windows language settings.
Andrew Alford
Production Test Engineering Technologist
Sustainable Energy Technologies
www.sustainableenergy.com
0 Kudos
Message 2 of 4
(3,017 Views)
Always include the formatter in your write/read string '%.;' or '%,;'

Ton
Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas

LabVIEW, programming like it should be!
Message 3 of 4
(3,004 Views)
My application has to run on both Euro and US PCs and includes an external function that prints it result without localized formatting.  Euro PCs won't read the decimal value.  Ton's suggestion of using the Localization Code in the format specifier works!
 
Thanks!!
0 Kudos
Message 4 of 4
(2,994 Views)