Formula Tool - Numeric Data Type
- 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 Professionals,
I understand to compute numbers is to use numeric data type or the formula tool will show an error. In the Configuration Window, I'm still unclear why the Formula Tool (compute numeric data type from the input data) doesn't show an error though we don't change Data Type to numeric (attached example).
Thank you,
Solved! Go to Solution.
- Labels:
- API
- Common Use Cases
- Datasets
- Output
- Workflow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
I think of it as "anything can be converted to a string - not everything can be converted to a number"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Tax and price are both numeric data types so doing math with them is no issue. The result of that is also a number, but the field type is saving that result as a string data type.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Got it. Thank you @apathetichell.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Thank you @SPetrie . This is just a conversion of a numeric result. From this result, If we connect with some other tools and want to compute another numeric function, we will need to convert this string data type to numeric data type?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Correct. To be used as a number, the result would either need to be saved as a numeric data type, or you would need to use another formula to convert it to a number before any additional numeric operations can be applied to it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
@SPetrie Got it. Thank you.
