LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

decimal point format: period/comma

I changed my general windows language settings and it works now, all good!!

Message 11 of 13
(4,210 Views)

Hi Ribbster,

 

some comments:

having done that, I tried to directly insert a decimal point into my final array, which didn't work, I could still only use commas.

You need to restart LabVIEW after changing that option!

 

when I change the string format to %,3f for example, the final array is filled with zeros

This is not a valid format code!

Just read the LabVIEW help, it lists all allowed format specifiers.

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 12 of 13
(4,200 Views)

Ribbster wrote:

• when I change the string format to %,3f for example, the final array is filled with zeros


You actually want your format to be "%.;%.3f".  The "%.;" sets the localized decimal point for the operation to be a period instead of a comma.



There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 13 of 13
(4,188 Views)