How Can We Help?
< All Topics
Print

$sqrt

Calculates the square root of a number.

Syntax

$sqrt(number)

Parameters

numbera positive number or an expression that evaluates to a positive number

Return Value

Number, with the same number of decimal places as number.

Example

$sqrt (100)

The above expression means “the square root (in base 10) of 100” and evaluates to 10.

See Also

$absolute

$exp

$log

$log10

About Functional Expressions

Deixe um comentário

O seu endereço de e-mail não será publicado. Campos obrigatórios são marcados com *

pt_BRPortuguese