
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Samual Sam has Published 2310 Articles

Samual Sam
112 Views
The sign() function of the Math object accepts an integer number and returns its sign.(positive, negative)If the given number is a positive integer then, this function returns +1.And, if the given number is a negative integer then, this function returns -1.SyntaxIts Syntax is as followsMath.sign();Example Live Demo JavaScript Example ... Read More

Samual Sam
123 Views
The trunc() function of the Math object accepts a number and returns its integral point (excluding the fractional part). If the given number itself is an integer this function returns the same.SyntaxIts Syntax is as followsMath.trunc();Example Live Demo JavaScript Example var result ... Read More

Samual Sam
61 Views
The cosh() function of the Math object accepts an angle (in radians) and returns its hyperbolic cosine value.SyntaxIts Syntax is as followsMath.cosh(90)Example Live Demo JavaScript Example var result = Math.cosh(90); document.write("Hyperbolic cosine value of the given angle: "+result); ... Read More

Samual Sam
78 Views
The sinh() function of the Math object accepts an angle (in radians) and returns its hyperbolic sine value.SyntaxIts Syntax is as followsMath.sinh(90)Example Live Demo JavaScript Example var result = Math.sinh(90); document.write("Hyperbolic sine value of the given angle: "+result); ... Read More

Samual Sam
241 Views
The fround() function of the Math object accepts a floating point number and returns the nearest 32-bit single precision float representation of a Number. If the given number itself is an integer this function returns the same.SyntaxIts Syntax is as followsMath.fround(160.98)Example Live Demo JavaScript Example ... Read More

Samual Sam
109 Views
The imul() function of the Math object accepts two numbers and returns the result of C-like 32-bit multiplication of the given numbers.SyntaxIts Syntax is as followsMath.imul(47, 56);Example Live Demo JavaScript Example var result = Math.imul(47, 56); document.write("Result: "+result); OutputResult: 2632

Samual Sam
144 Views
The log10() function of the Math object accepts a number and returns the natural logarithm (base 10) of the given number.SyntaxIts Syntax is as followsMath.log10(48);Example Live Demo JavaScript Example var result = Math.log10(48); document.write("Result: "+result); OutputResult: 1.6812412373755872

Samual Sam
76 Views
The log2() function of the Math object accepts a number and returns the natural logarithm (base 2) of the given number.SyntaxIts Syntax is as followsMath.log2(48);Example Live Demo JavaScript Example var result = Math.log2(48); document.write("Result: "+result); OutputResult: 5.584962500721156

Samual Sam
64 Views
The acosh() function of the Math object accepts a number and returns its hyperbolic arc cosine value in radians. To convert the resultant value into degrees, multiply it with 180 and divide the result by 3.14159 (pi value).SyntaxIts Syntax is as followsMath.acosh(0.5)Example Live Demo JavaScript Example ... Read More

Samual Sam
74 Views
The atanh() function of the Math object accepts a number and returns its hyperbolic arc arctangent value in radians. To convert the resultant value into degrees, multiply it with 180 and divide the result by 3.14159 (pi value).SyntaxIts Syntax is as followsMath.atanh(0.5)Example Live Demo JavaScript Example ... Read More