Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.

Alteryx Designer Desktop Discussions

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

changing the comma

Kinetic_analytics
11 - Bolide

Hello great people:

Hope you are doing great. How can I change 414,966 V-String type data into 41466.00? 

Appreciate your help.

7 REPLIES 7
binuacs
21 - Polaris

@Kinetic_analytics One way of doing this

binuacs_0-1674234093844.png

 

Kinetic_analytics
11 - Bolide

@binuacs Thank you. 

 

BS_THE_ANALYST
14 - Magnetar
14 - Magnetar

Hi! @Kinetic_analytics  

Just confirm, did you intend to miss the '9' out? 414,966 -> 41466.00 

All the best,
BS

LinkedIN

Bulien
Kinetic_analytics
11 - Bolide

Sorry. Unintentional error.  correct number is 414966.00

BS_THE_ANALYST
14 - Magnetar
14 - Magnetar

Given that was a typo, one way to do this:

Step 1: Replace the comma:

BS_THE_ANALYST_0-1674234341081.png

BS_THE_ANALYST_1-1674234361591.png

 

Step 2: Change the datatype to a 'double' or a 'float'. Double has more precision. 

BS_THE_ANALYST_2-1674234391222.png

 

 

 

All the best,
BS

LinkedIN

Bulien
Kinetic_analytics
11 - Bolide

Thank you :) Appreciate your time and help @BS_THE_ANALYST 

BS_THE_ANALYST
14 - Magnetar
14 - Magnetar

@Kinetic_analytics You're welcome! Have a great weekend.

All the best,
BS

LinkedIN

Bulien
Labels