I have an array
var array = ['123.456789,123.1','456.7890123,234.1','789.0123456,345.1'];
The outcome I'm looking for is
var array1 = [123.456789,456.7890123,789.0123456];
var array2 = [123.1,234.1,345.1];
What's best practice for doing this? I've been looking at .split(""); but would like to know the best way to approach it.
Thanks in advance Mach