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

String to Double

Rayyyyy
6 - Meteoroid
 

Hello, can somebody help me using the select tool. I tried to convert the string into double, but it seems that the output is changing the amount into a whole number. Is there any other way how I can convert the transaction amount into a normal number? Thanks in advance!

Capture.PNGCapture2.PNG

3 REPLIES 3
FinnCharlton
13 - Pulsar

Hey @Rayyyyy , you can get around this by removing the comma in your number. I recommend doing it in a Multi-Field Formula tool, as you can change the data type of the field in the same tool. Copy this configuration:

 

image.png

Rayyyyy
6 - Meteoroid

Hi @Fincharlton,

thanks for your reply, however have I also tried to do that procedure but the "-" represents as a negative amount. So in that case the amount must be -589,339.70. Thanks

FinnCharlton
13 - Pulsar

You could use this code instead:

 

if
right([_CurrentField_],1)='-'
then
'-' + replace([_CurrentField_],',','')
else
replace([_CurrentField_],',','')
endif
Labels
Top Solution Authors