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,108 Views)
Solution
Accepted by topic author Michael.Koppelgaard

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

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

Posted 2 times. Sorry. Got answer

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