Avaliação do Usuário

Estrela inativaEstrela inativaEstrela inativaEstrela inativaEstrela inativa
 

Sqrt()

Calculates the square root of a number.
Syntax
Sqrt( <nNumber> ) --> <nSqrt>
Argument(s)
<nNumber> Any numeric value.
Returns
<nSqrt> The square root of <number>.
Description
This function returns the square root of <nNumber>. The precision of this evaluation is based solely on the settings of the SET DECIMAL TO command. Any negative number passed as <nNumber> will always return a 0.
Example(s)
SET DECIMAL TO 5
? Sqrt( 632512.62541 )
? Sqrt( 845414111.91440 )
Status
Ready
Compliance
This is CA-Cl*pper v5.2 compliant
Platform(s)
This is available on all platforms
File(s)
Library is core
See also

Round()