String to Decimals
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hello all,
I have this Number "8.33333333333321e-0" in String format, How to convert this to Fixed Decimals format.
Kindly help
- Labels:
- Best Practices
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi @dkma
using a select tool and setting to fixed decimal like below should work. If it doesn't work can you provide sample data.
Hope this helps : )
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Solved!!!!!
Trimright("8.33333333333321e-0", "e") and then to Fixed Decimals
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi @dkma
Strange it should have worked like that only. Anyways happy to hear it's solved.
Cheers and have a nice day!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi @atcodedog05 ,
Actually , The data contains many numbers and strings in a columns, as per Solved: Re: Converting string to Number - Alteryx Community,
Used regular expressions to find only numbes in the string the above number contains string and numbers, so I trimmed and changed it to Fixed Decimals.
Thanks for looking into it
