Forum und email

sqrt

(PHP 4, PHP 5)

sqrt — Worteltrekken

Beschrijving

float sqrt ( float $arg )

Geeft de tweedemachts wortel van arg terug.

<?php
// Precision depends on your precision directive
echo sqrt(9); // 3
echo sqrt(10); // 3.16227766 ...
?>

Zie ook: pow().