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.
SOLVED

How to Convert to zero

PassION_es
10 - Fireball

 

Hello Alteryx community,

 

Please help how can I convert to zero from a long numbers.

 

 

 

2 REPLIES 2
chuckleswk
11 - Bolide

If the field is a string field, you could always write a formula using the formula tool and then convert the column to a double using the select tool :


if contains([Amount],"E") then "0" else [Amount] endif

 

It would be helpful if you posted a sample of the input file.

PassION_es
10 - Fireball

hi @chuckleswk , thanks for this. but i already figured out how to refrain from long numbers. This is by using the fixed decimal data type. 

Labels
Top Solution Authors