hallo zusammen,
habe eine kleines Problem bei der Umwandlung einer Excelformel in eine Javascript-Formel.
Es kommt nicht da richtige Ergebnis raus, vielleicht setze ich auch eine Klammer falsch o.ä.
Das ist die Excelursprungsformel: WURZEL((B12/$B$6/(B15+1)+(POTENZ(B18/1000;2)*E6/1000*PI()/4))/6,16)*1000
und hier meine JS-Pendant:
zws=dmi/1000;
pic=Math.PI;
kim2=Math.sqrt( qua/wid/ (qs+1) + ( Math.pow(zws,2)*dns/1000*pic/4 ) /6.16 ) *1000 ;
Hat jemand spontan eine Idee?
LG
Piet
habe eine kleines Problem bei der Umwandlung einer Excelformel in eine Javascript-Formel.
Es kommt nicht da richtige Ergebnis raus, vielleicht setze ich auch eine Klammer falsch o.ä.
Das ist die Excelursprungsformel: WURZEL((B12/$B$6/(B15+1)+(POTENZ(B18/1000;2)*E6/1000*PI()/4))/6,16)*1000
und hier meine JS-Pendant:
zws=dmi/1000;
pic=Math.PI;
kim2=Math.sqrt( qua/wid/ (qs+1) + ( Math.pow(zws,2)*dns/1000*pic/4 ) /6.16 ) *1000 ;
Hat jemand spontan eine Idee?
LG
Piet