Home Information PDF Documents EULANDA Handbooks Training Book's corner Download Contact us Table of Contents About us

Glossary

Password needed Newsgroup

Remote Support system

sqrt (JScript)

Back | Level back

Die  „sqrt“-Methode gibt Quadratwurzel einer Zahl bzw. eines Ausdrucks zurück.

Syntax

Math.sqrt(Zahl)

Das Argument „Zahl“ kann als einzelner Wert oder als numerischer Ausdruck angegeben werden. Der Rückgabewert ist die Quadratwurzel des angegebenen Wertes.

Beispiel

Ergebnis= Math.sqrt(9)

Der Ergebnis-Variablen wird die Quadratwurzel aus 9, also  3 zugewiesen.