guys! I have a problem converting an array of strings into floats. If i use map(parseFloat) I get int numbers. Is there a problem with the commas in 40,78, that is why I get 40 when I use the parseFloat function ?
This is the array I want to convert:
[["40,78","6,27","0,00",null,null,null,null,null,null,null,null,null,"35,87",null,null]];
I want to convert it into this:
[[40.78,6.27,0.00,null,null,null,null,null,null,null,null,null,35.87,null,null]];
Does anybody have any idea? Thanks in advance!
1
. – David R Aug 25 at 13:04