Free Trial

Alteryx Designer Desktop Discussions

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

Help to get decimal numbers in char datatype field

Naga
8 - Asteroid

Hello,

 

Need some help with the below request. I tried to use tonumber() formula that is not getting the expected result. 

 

I have a string field, which holds a number and I need to add 2 decimal places only for the records that doesn't have any decimal and the rest to be kept as is.

 

InputOutput
99.6799.67
104104.00
101101.00
97.4497.44

 

Thanks
Naga

3 REPLIES 3
messi007
15 - Aurora
15 - Aurora

@Naga,

 

Please see below:

messi007_0-1612952541469.png

Attached the workflow.

Hope this helps!

 

Regards.

Naga
8 - Asteroid

Hi @messi007 ,

 

Fantastic and Thanks for your quick response...it worked very well.

 

Thanks

Naga

messi007
15 - Aurora
15 - Aurora

@Naga,

 

Happy to help and happy analyzing 🙂

 

Best Regards,

Labels
Top Solution Authors