Transforming Text Type to Integer
Options
Zak Katz
Member ✭
Hi Everyone - I am using an external API request in a function to fetch some data. Unfortunately, the data being returned formats one of the fields within the array as text, even though the returned value is actually an integer.
What's the best way to transform that field field within each item in the array to an integer?
What's the best way to transform that field field within each item in the array to an integer?
Comments
-
this can done with a For Each Loop
then update variable function and apply the filter "to_int" for each item.
Categories
- All Categories
- 53 ? Announcements
- 47 ? Releases
- 37 ? Welcome
- 983 ? Help! I'm a Noob
- 125 ? No-Code Front-Ends
- 633 ? Working with APIs
- 439 ? Transforming data
- 126 ? Connect Xano to ...
- 50 ?? Find an Expert
- 348 ❓Other questions
- 35 ? Security
- 22 ✂️ Snippets
- 19 ? Showcase
- 7 ?️ Xano Chatter
- 62 ? Video Tutorials
- 171 ? Request a feature
- 229 ? Report a Bug
- 19 ? Templates & Extensions
- 7 ? Feedback