Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
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
13 - Pulsar

@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
13 - Pulsar

@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