ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

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

All the value in two decimals

Sshasnk
Asteroid

I want to convert the number to 2 decimal places, for every number

 

Number
123
123.456
123.00
456.01

 

NumberNumber_1
123123.00
123.456123.45
123.00123.00
456.01234456.01
4 ANTWORTEN 4
davidskaife
Magnetar

Hi @Sshasnk 

 

Here is a way of doing it in one tool, use the Select tool to change the type to FixedDecimal:

 

DavidSkaife_0-1672826826174.png

 

 

 

Christina_H
Magnetar

You need to convert the number to a string: ToString([Number],2)

Christina_H_0-1672827036763.png

@Sshasnk , If the data type is number then you can change it to fixed decimal and specify the precision and scale of the column. Below are more details on the fixed decimal data type usage:

 

https://help.alteryx.com/20223/designer/data-types#:~:text=Alteryx%20defaults%20a%20Fixed%20Decimal,....

Sapna Gupta
Sarreddy
Comet

@Sshasnk 

Sarreddy_0-1672829493743.png

 

Beschriftungen
Top-Lösungs-Autoren