LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 
Reply

how to find value?

Solved!
Go to solution
How to calculate the value of 2.50E+2 in Scan from String function when %f format string is selected?
0 Kudos
Message 1 of 7
(768 Views)
Solution
Accepted by topic author kanye
08-27-2015 04:09 PM
maybe make the format sting a control
Harold Timmis
htimmis@fit.edu
Orlando,Fl
*Kudos always welcomeSmiley Happy
Message 2 of 7
(762 Views)

Hi kanye.

 

what do you want to "calculate" using a string function???

sfs.png This yields exactly 250 as expected Smiley Wink

Best regards,
GerdW
CLAD expired, using 2009SP1 + LV2011SP1 + LV2017 (+LV2018 sometimes) on Win7+cRIO
Kudos are welcome Smiley Wink

Message 3 of 7
(760 Views)

Hi Gerd,

Thanks for the reply!

How do we get a output of 250 if I try to solve without the software?

 

0 Kudos
Message 4 of 7
(729 Views)
What do you mean by "try to solve"?  Nothing is being solved.  It is taking your string and converting it to a number.
0 Kudos
Message 5 of 7
(723 Views)

There's nothing to solve, 'E' = "10 raised to" (or rather the Exponential)

 

So 2.5E2 = 2,5*10^2 = 250

 

/Y

G# - Award winning reference based OOP for LV, for free! ADDQ VIPM Now on GitHub
"Only dead fish swim downstream" - "My life for Kudos!" - "Dumb people repeat old mistakes - smart ones create new ones."
Certified-LabVIEW-Developer
0 Kudos
Message 6 of 7
(704 Views)

No need to run labview code.

 

exp1.PNG

 

exp2.PNG

 

It will automatically show you 250!!!

Message 7 of 7
(690 Views)