Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.
Community is experiencing an influx of spam. As we work toward a solution, please use the 'Notify Moderator' option on the ellipsis menu to flag inappropriate posts.

Alteryx Designer Desktop Discussions

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

How can I format the number to use 1000 separator (,) and no decimal places.

Marcegon
8 - Asteroid

Hi, I am trying to format the numbers below to 1000 separator and round without decimal places.  I want to align the numbers to the right as well.  Any help would be greatly appreciated! 

 

Input

62170

29722.86

 

Desired output

62,170

29,723


Thanks.  

3 REPLIES 3
gautiergodard
13 - Pulsar

Hello @Marcegon 

Please see the attached solution for this issue!

Hope this helps!

 

**Please like and mark this solution as resolved if this provided the solution to your question**

DataNath
17 - Castor
17 - Castor

There were a couple of solutions provided for this in your thread the other day @Marcegon - did these not work?

 

https://community.alteryx.com/t5/Alteryx-Designer-Discussions/How-can-I-format-a-number-to-use-1000-...

Emmanuel_G
13 - Pulsar

@Marcegon 

 

Find in attachement the way of doing that by using Tostring and Round functions.

 

Emmanuel_G_0-1664701797200.png

 

Labels