In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. Learn more here
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