I used the ‘Format Into String’ function. Here I edited the format string into ‘%.3f;’, which means I tell labview to use a decimal point. But when I probe my formated string I see a ‘comma’.
A few things:
- Your computer has a language setting that defines the comma as decimal point.
- Your LabVIEW installations is set to use localized decimal point, meaning the decision between comma and period depends on the language setting of the OS. (tools..options…front panel…general)
- You can also overwrite this in code, e.g. using “%.;%.3f” as format string. This will give you a period.
Last updated: 28 Settembre 2022 by Pierluigi Minati