Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Change data to Number with Decimals

TNShan
8 - Asteroid

May I inquire about possible errors preventing the transformation of the data into the expected output?

 

InputOutput
44.0000
3.9073.9070
3.93023.9302

 

Capture.JPG

 

6 REPLIES 6
Qiu
21 - Polaris
21 - Polaris

@TNShan 
We can change the Data to Fixed Decimal type.

2024-01-31 162047.png

gawa
16 - Nebula
16 - Nebula

hi @TNShan 

You should write expression like this, to have 4 digit decimal.

ToString([Level GPA],4)

Pls refer to online manual for detail.

https://help.alteryx.com/current/en/designer/functions/conversion-functions.html#idm45934712663104

 

flying008
15 - Aurora

Hi, @TNShan 

 

If you want to get string, use the formula:

ToString([Level GPA], 4)
TNShan
8 - Asteroid

Hello, if the 'Scale' cannot be edited, could you kindly provide your advice on this matter?

Capture.JPG

TNShan
8 - Asteroid

Hi, I'm uncertain whether the issue lies with my data, but the error persists.

Capture.JPG

flying008
15 - Aurora

Hi, @TNShan 

 

You must change your [Level GPA] type to string or New Field or use Multi-Filed Formula tool to change output type to your need.

Labels
Top Solution Authors