We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

Converting funny characters such as '8.38E+14' to '838000000000000.00'

healsio2025
6 - Meteoroid

What data type should I choose in the Select tool?
I've used V_STRING AND V_WSTRING, but it didn't work well...

3 REPLIES 3
alexnajm
18 - Pollux
18 - Pollux

If you want it to be numeric, you need Fixed Decimal, Float, or Double - there is also the ToNumber() function in the Formula tool

healsio2025
6 - Meteoroid

in addition to 8.38E+14, there are also combinations of letters and numeric characters in the same field

Alteryx resulted 'null' for those super long combination of letters and numeric characters.

 

what data type would take both 8.38E+14 and combination of letters and numeric characters?

alexnajm
18 - Pollux
18 - Pollux

That's a very important caveat. In that case, then you do have to use a string data type like V_WSTRING. You'd have to use some formula to take the scientific notation, convert to number, then convert back to text. Something like ToString(ToNumber([data]),2) would work, and you could make an IF statement to ensure those that aren't in scientific notation are not affected

Labels
Top Solution Authors