Transforming Text Type to Integer

Options
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?

Comments