PHP
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

bcsub> <bcscale
Last updated: Fri, 11 Apr 2008

view this page in

bcsqrt

(PHP 4, PHP 5)

bcsqrt — Obtiene la raíz cuadrada de un número de precisión arbitraria.

Descripción

string bcsqrt ( string $operando , int $escala )

Devuelve la raíz cuadrada del operando . El parámetro opcional escala fija el número de dígitos tras el punto decimal del resultado.

Example #1 Ejemplo bcsqrt()

<?php

echo bcsqrt(23); // 1.414

?>

Ver también bcpow().



add a note add a note User Contributed Notes
bcsqrt
There are no user contributed notes for this page.

bcsub> <bcscale
Last updated: Fri, 11 Apr 2008
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites