Start Free Trial

Alteryx Designer Desktop Discussions

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

Convert the number with comma and decimal without it

jkorattiyil
7 - Meteor

Hello - Can someone please help me to know is there a way in Alteryx to convert the numbers such as 100.25 or 250.50 to 10025 and 25050. I tried Regex formfula but it nor giving me teh desired result.

3 REPLIES 3
TheOC
16 - Nebula
16 - Nebula

hey @jkorattiyil 
Please find attached:

TheOC_0-1648222110469.png



I did it in a single formula. Effectively convert the number to a string, remove the ".", and then convert it back to a number.
Hope this helps,
TheOC

Cheers,
TheOC
Connect with me:
LinkedIn Bulien
binu_acs
21 - Polaris

@jkorattiyil 

toNumber(Replace( ToString([Numbers]),'.',''))

binuacs_0-1648222149685.png

 

jkorattiyil
7 - Meteor

Thank you so much!, it worked...

Labels
Top Solution Authors