cbrt

Summary

Get the cube root of a number.

Usage

public static double cbrt(double x)

Returns

The cube root of the number.

Parameters

x

The number to get the cube root of.

Description

Returns the cube root.

Examples

Basic Usage
1
2
3
4
import System;
 
Console.log(Math.cbrt(0)); // 0
Console.log(Math.cbrt(2)); // 1.2599210498948732

Share

HTML | BBCode | Direct Link