Start Free Trial

Alteryx Designer Desktop Discussions

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

Round off decimal places

KrishnaChithrathil
11 - Bolide

Can we make 2 decimal places to 6 decimal places without getting conversion errors in Alteryx?

Please find the screenshot below. 

KrishnaChithrathil_0-1663662537452.png

I tried it with select tool, fixed decimal, with size 19.6 but i'm getting conversion error like this.

Select (4) Field1: "1.019879991124576532" has too many digits after the decimal and was truncated.

Whatever be the value, it should have 6 decimal places.

 

 

Any help?

4 REPLIES 4
binu_acs
21 - Polaris

@KrishnaChithrathil One way of doing this

binuacs_0-1663663305865.png

 

Emmanuel_G
13 - Pulsar

@KrishnaChithrathil 

 

To can achieve this you can use Tostring function to format your digits as you want.

 

Here is the documentation about this function : Tostring function 

 

Please do not hesitate to mark this answer as solution if it helped.

 

Emmanuel_G_0-1663664251315.png

 

KrishnaChithrathil
11 - Bolide

@binu_acs 

That was neat. Thank you. 😊

binu_acs
21 - Polaris
Labels
Top Solution Authors