Convert array of string into Numbers

I got a array of number but unfortunately numbers are returned as string from the api. I want to get to sum of these numbers but can’t afford to loop the array because there are about 2000 elements in this array. It there a way to convert this string array into numbers without looping it.

You can use the “Custom JS” module

Screenshot_2023-09-06_210924

Output

Screenshot_2023-09-06_210929

Screenshot_2023-09-06_210915

3 Likes

This is great. Thanks

3 Likes