LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Formatting an exponential number

Hi,

My DAQ returns a number of 1.818123E-5.  I want to format that number to the display and a spreadsheet to 18.18123E-6.

 

Thanks

Peter Favazza

0 Kudos
Message 1 of 3
(2,122 Views)

Programming -> String -> Number/String Conversion -> Number to Engineering String

 

or 

 

%^g

 

"If you weren't supposed to push it, it wouldn't be a button."
0 Kudos
Message 2 of 3
(2,091 Views)

The spreadsheet (Excel?) might decide itself how it displays values. So even if you write it to file correctly it might not show as you'd like. That would also depend on the file format you're writing, and if you use the report generation toolkit, whether you're writing numbers or strings.

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