convert scientific notation string into float

Started by ccdr, May 14, 2017, 01:48:04 AM

Previous topic - Next topic

ccdr

Hi
My device can only reponse with string in scientific notation with unit.
Like
-2.208827E-12A representing -2.2pA.
I just want pure float data, i.e. -0.000000000002208827 without any character.
How can I achieve that with Data logger suite?
Thanks.

Arthur Grasin

Hello.

You may extract this value (-2.208827E-12) in the parser and specify the Float data type. Then you may use the FormatFloat function in the Expressions plugin

NEWVALUE=FORMATFLOAT('0.00000000000000000',  VALUE)
If you like my work, please take a few seconds and add feedback about our site or our software [here]