Functions

cbrt

Supported By

Syntax

[the] cbrt of factor

cbrt ( expression )

Factor and expression yield integers, numbers, or complexes.

Example

put cbrt(27) -- puts 3

Description

The cbrt function returns the cube root of its argument.

If the argument is an integer or a number, a number is returned.

If the argument is a complex, a complex is returned.

See Also

sqrt