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

Converting V_String to Number with exact precision

adam_rafael_18
8 - Asteroid

Hi,

 

I am bringing in a CSV file where I have a column with

  • numbers greater than 1,000,000,000
  • numbers that are less than .00000001 but greater than 0 (that are being brought in scientific notation)
  • nulls

When bringing this in from a csv, It comes in as v_string, and no matter how I try to convert to a number, I am running into an issue, whether it is 

  • the large numbers being rounded
  • the small numbers being converted to nulls
  • the nulls becoming 0

I need everything to be exact, and appear in non-scientific notation. Any recommendations?

 

Thank you!

4 REPLIES 4
binu_acs
21 - Polaris

@adam_rafael_18 Can  you share some sample data?

DataNath
17 - Castor
17 - Castor
tandon
8 - Asteroid

Tried to simulate the issue but can;t see it. please can you share sample data.

 

 

tandon_0-1655218220834.png

 

 

adam_rafael_18
8 - Asteroid

Was able to solve: What I did was first use a multi-row formula to convert to number IF the values were not null. After that, I filtered for values that contained 'E" (anything that contained E needed to be changed, whereas anything that did not was good to go). From there, I used a text to columns with a delimiter of E, and ended with 3 columns (so as an example, I had 3.0000009, E, and -09) I then did a formula where I did 3.0000009 / (Pow(10,-09)). After that, I unioned the filtered data together. Thanks for the help!

Labels
Top Solution Authors