- Trending Categories
- Data Structure
- Networking
- RDBMS
- Operating System
- Java
- MS Excel
- iOS
- HTML
- CSS
- Android
- Python
- C Programming
- C++
- C#
- MongoDB
- MySQL
- Javascript
- PHP
- Physics
- Chemistry
- Biology
- Mathematics
- English
- Economics
- Psychology
- Social Studies
- Fashion Studies
- Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Math.cbrt() function in JavaScript
The cbrt() function of the Math object accepts a number and returns its cube root.
Syntax
Its Syntax is as follows
Math.cbrt(729)
Example
<html> <head> <title>JavaScript Example</title> </head> <body> <script type="text/javascript"> var result = Math.cbrt(729)); document.write("<br>"); document.write("Cube root of the given number: "+result); </script> </body> </html>
Output
Cube root of the given number: 9
Advertisements