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

Decimal separator

Inactive User
Not applicable

Hi Team,

Need a formula to separate this integer as "000000067460" and "0000" wherein decimal as separator. Kindly advice.

Regards,

Guru 

 

GuruDB_0-1616601414584.png

 

4 REPLIES 4
Emil_Kos
17 - Castor
17 - Castor

Hi,

 

Maybe you can use text to columns and "." as a seperator? 

OllieClarke
15 - Aurora
15 - Aurora

Hi @Inactive User 

I'm not sure I fully understand, but if you have a string and want to split the decimal and numeral then you can use a text to columns tool delimiting on '.' 

Hope that helps

OllieClarke_0-1616601934095.png

 

Inactive User
Not applicable

Thanks so much ! that logic works....

SiddeshDhruva
7 - Meteor

Hi, I am looking for a similar solution but in a different output, i want to split my data as below 

 

1, Decimal value

2, Scenario 1 - Nearest "0"

3, Scenario 2 - Nearest "10"

4, Scenario 3 - Nearest "100"

 

below is the example:

Spend number Decimal Value  Scenario 1(Nearest "0")  Scenario 2, Nearest 10  Scenario 3, Nearest 100 
141.340.34141140100

 

please suggest

 

Thank you!

Labels