This site uses different types of cookies, including analytics and functional cookies (its own and from other sites). To change your cookie settings or find out more, click here. If you continue browsing our website, you accept these cookies.
General Discussions has some can't miss conversations going on right now! From conversations about automation to sharing your favorite Alteryx memes, there's something for everyone. Make it part of your community routine!
Hi
I'm trying to convert numbers in a format such as (0.64%) into double s.t. output is -0.0064. Have tried using regex in the formula tool as attached and the outcome is as expected but kicks off a ton of conversion errors
Any ideas how i can clean this up to avoid conversion errors?
Thanks in advance
Nish
Solved! Go to Solution.
This will work :
tonumber( REGEX_Replace( REGEX_Replace( REGEX_Replace([Value], "\%", "") , "\(", "-") , "\)", "") ) /100
You weren't removing the closing bracket 🙂
perfect - thanks!