lang • cbr

Cbr

Value = Cbr ( Number AS Float ) AS Float

Computes the cubic root of a number. The number can be zero, negative or positive.

Examples

Print Cbr(2)
1.259921049895
Print Cbr(-8)
-2
Dim i As Integer
For i = -2 To 2
  Print i, Cbr(i)
Next
-2    -1.259921049895
-1    -1
0     0
1     1
2     1.259921049895

See also