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: 

String to number conversion

Hi!

I am trying to convert string "12.345" to number. I use "From
Exponential/Fract/Eng" VI, but what I get on the number output is 12.35
(i.e. - labview rounds the number to 2nd place after the point). How can I
change it? I need it to stay 3 digits after the decimal point

Thanks, Victor
0 Kudos
Message 1 of 2
(2,295 Views)
Victor,
Just right click on your indicator on the front panel, select Format &
Precision, and increase the precision to 3 digits.

Tom Whitaker

On Thu, 21 Feb 2002 11:50:44 +0200, "Victor Chernov"
wrote:

>Hi!
>
>I am trying to convert string "12.345" to number. I use "From
>Exponential/Fract/Eng" VI, but what I get on the number output is 12.35
>(i.e. - labview rounds the number to 2nd place after the point). How can I
>change it? I need it to stay 3 digits after the decimal point
>
>Thanks, Victor
>
>
>
>
0 Kudos
Message 2 of 2
(2,295 Views)