LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

spredsheet string to array

Solved!
Go to solution

Have this string \s-6.76\s\sg\r\n\s-6.76\s\sg\r\n (code view)

Want to split it into an array of doubles with to elements.

 

On on computer it works fine but on the cumpter,where I have to have it running, I got problems.

The output is not 6.76  but 6.
I set the dicimal symbol for the computer to '.'

Capture.PNGCapture1.PNG

0 Kudos
Message 1 of 3
(3,124 Views)
Solution
Accepted by Michael.Koppelgaard

your format specifier is %d which means it gets formated to an integer. Try %g

0 Kudos
Message 2 of 3
(3,118 Views)

Posted 2 times. Sorry. Got answer

0 Kudos
Message 3 of 3
(3,111 Views)