ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Convert String to Number

I met some problems when I tried to convert a string to a floating point
number. I used Fract/Exp String To Number, but didn't get the desired
output.For example,
String: 1.2345, the Fract/Exp String To Number gives 1.23 but not 1.2345.
Can someone assist? Thank you.

Ju, Jian
0 Kudos
Message 1 of 3
(3,234 Views)
Use Functions->String->Scan from String instead.


2006 Ultimate LabVIEW G-eek.

0 Kudos
Message 2 of 3
(3,234 Views)
Did you set your front panel indicator to display more than 2 digits of precision? Right click on the indicator and select Format & Precision to change it.
0 Kudos
Message 3 of 3
(3,234 Views)