Alteryx Designer Desktop Discussions

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

Convert String into Double

techbender
5 - Atom

Hey everyone!

 

I'm a newbie to Alteryx but loving it so far! 

 

Currently working on trying to convert some funding data types from String data into Double. Seems easy enough but the funding string data has the numbers abbreviated (attached below).

techbender_2-1631114276072.png

 

Ideally, I would like to set up a formula or maybe utilize a tool that will output the first row as '63,300,000', the second row as '1,700,000,000', and so forth. If anyone has some helpful documentation that'll lead me in the right direction, I'd appreciate it!

 

Thank you!! 🙂

 

5 REPLIES 5
atcodedog05
22 - Nova
22 - Nova

Hi @techbender 

 

You can use a formula like this.

 

Workflow:

atcodedog05_0-1631115117289.png

 

Hope this helps : )

techbender
5 - Atom

oh wow!! lol I was definitely overthinking it. Just to clarify, does the ToNumber function remove the '.' ?

Thanks a bunch @atcodedog05! Sweet profile pic too!

atcodedog05
22 - Nova
22 - Nova

Hi @techbender 

 

In ToNumber() dot is treated as a decimal point.

 

Happy to help : )

Cheers and have a nice day!

techbender
5 - Atom

Thank you, you too! Take care 🙂

atcodedog05
22 - Nova
22 - Nova

You too 🙂

Labels