Convert array of strings to array of numbers

i have a static array get string values [“152042”, “151980”]
and i want to convert them to numbers [152042, 151980]