We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

Insert a Decimal

Jmacnevin
7 - Meteor

Hello.  I have a V_String field with a value of "5000".  This represents a dollar value of "$50.00".  How can I insert a "." into the "5000" value?

Thanks,

4 REPLIES 4
BransonJamesFarley
8 - Asteroid

Hi!

 

Does this solution work for you? 

abacon
12 - Quasar

@Jmacnevin first, recast the number by dividing it by 100 to get the dollar value, then use a select tool to switch the value to a fixed decimal and set the size to 19.2. Make sure to hit the button I have circled in the output pane.image.png

abacon
12 - Quasar

@Jmacnevin If it has to remain a v_string, you can concat a ".00" to the value in a formula tool after you recast to get your dollar value.

Jmacnevin
7 - Meteor

Thank you all!

Labels
Top Solution Authors