LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

string to number conversion

Hello everybody,

I got an ascii file with numbers with several digits after the decimal point in
it. I want to convert this strings into numbers(Ext,Dbl,...) with 4 digits after
the decimal point.
I was trying the following: reading in the strings, converting the string into
number with "From Exponential/Fract/Eng" and the result is a decimal number with
two digits after the decimal point. But I want four. I can't find any
possibility to change the number of digits after the decimal point at the
conversion.
Is there anybody who has some help for me. Thanks a lot

Jens
0 Kudos
Message 1 of 2
(2,647 Views)
If you put an indicator in the output of the "From
Exponential/Fract/Eng.vi" you can get more digits after the
point right clicking the indicator and selecting "Format
and precision", there you can select how many digits of
precision you want, default value is two, so, if you do
nothing, you get two digits of precision.



* Sent from AltaVista http://www.altavista.com Where you can also find related Web Pages, Images, Audios, Videos, News, and Shopping. Smart is Beautiful
0 Kudos
Message 2 of 2
(2,647 Views)