LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabView 8.0 Runtime localized decimal points

Hallo,

I want to use a '.' instead of the ',' that is normally used in Germany (where I live) to separate the decimal part in floating point numbers. Older Versions of the Labview Runtime Environment had the option "Use localized decimal point" ("useLocaleDecimalPt" in the ini-file), which you could set to FALSE and everything was ok.
This still works with the Labview 8.0 Development system, but unfortunately the corresponding Runtime environment seems to ignore this option/ini-setting.

Does anybody know how to coax the Runtime environment to use a '.' without changing it for the whole system using the control center ?

Thanks,

Merlin Welker


0 Kudos
Message 1 of 3
(3,372 Views)
I normally control the use of localized or no localized usage of the decimal point in the code itself.
The Format Specifiers for Syntax Elements allows you to determine if you want to use the System Default decimal point or "," or ".". This you can do by adding "%,;" (Comma decimal separator.), "%.;" (Period decimal separator.) or "%;" (System default separator.) to your Format Specifiers.
(see Help "Format Specifiers Syntax Elements")

Maybe that also helps to solve your problem.

Rob
Message 2 of 3
(3,369 Views)
Thank you for the information.

I've seen those codes before, but since I use a lot of old VIs that means I'd have to change lots of code. I would be nice if I could avoid that ...

Thank you anyway,

Merlin Welker
0 Kudos
Message 3 of 3
(3,364 Views)