From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

spredsheet string to array

Solved!
Go to solution

Have this little program using spredsheet string to array

I expected the output to be 6.76  and not 6.

Can anybody explain why?
I set the dicimal symbol for the computer to '.'

Capture.PNGCapture1.PNG

0 Kudos
Message 1 of 2
(2,627 Views)
Solution
Accepted by topic author Michael.Koppelgaard

use %f instead of %d to get floating point numbers. Please refer to the help of the format string for more options on number formattings.

0 Kudos
Message 2 of 2
(2,623 Views)