Hallo
Ich hab ein Array welches Zahlen enthält. Als Dezimaltrennzeichen wird der Punkt verwendet.
Hiermal ein ausschnitt aus dem Array
Code
var maschine = new Array (["1","FBZWS 2/1 630 x 1600","FBZWS","9","1.65","-9","2","-1.57","6.9","0.3","-10","-1.57"],
["2","BR 40 x 1250_1","BR_1","9.5","0","-3.8","2","-1.57","7.9","0.3","-5","-1.57"],
["3","BR 40 x 1250_2","BR_2","9.2","0","0.2","2","-1.57","0","0","0","0"],
["4","BR 40 x 1250_3","BR_3","6.3","0","-3.5","2","3.14","0","0","0","0"],
["5","BFT 80_1","BFT_1","8","0.5","6","2","-2","6","0.3","6","-1.57"],
["6","BFT 80_2","BFT_2","8","0.5","12","2","-2","5.9","0.3","12","-1.57"]}
Ich möchte jetzt das beim dritten, vierten und fünften eintrag (mit null beginnend) der Punkt in ein Komma umgewandelt wird und der Betrag der Funktion verwendet wird.
Ist dies möglich und wenn ja wie.
Ware nett wenn ihr mit helfen könntet
Jessica