How I parse array of arrays to float/int?
I have:
0: Array [ "2011", "127072,7" ]
1: Array [ "2012", "125920,3" ]
2: Array [ "2013", "129305,4" ]
3: Array [ "2014", "135364" ]
4: Array [ "2015", "136757" ]
5: Array [ "2016", "155653,5" ]
6: Array [ "2017", "164130,5" ]
And i need converted to
[[2011, 127072.7], [2012, 125920.3], [2013, 129305.4], [2014, 135364], ..... ]
So next thing is a replace , with ..
Is there some solution for this?