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

Text to number

BautistaC888
8 - Asteroid

Hello,
I have a table with numbers in text format and i need to transform then into double number format.

BautistaC888_0-1622554572993.png

I tried using the select tool with formulas but that truncated the information.
I share you an example workflow.
Thank you.

2 REPLIES 2
apathetichell
20 - Arcturus

I wasn't sure if the first entry was supposed to be negative so I showed you two ways - first way doesn't account for trailing ("-") - second way counts those as negatives.

 

The commas are just an option under user settings/localization...

mmish
6 - Meteoroid

You could use a couple formulas:

  1. Remove the commas
  2. Change the negative placement (if needed)
  3. Convert to double

mmish_0-1622556324795.png

 

Labels
Top Solution Authors