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
Karthikeya Boyini has Published 2192 Articles
karthikeya Boyini
133 Views
The entries() function of the Set returns an iterator object which holds the contents of the current Set. This iterator object returns a pair of values for each entry just like map (key and value). But here, instead of both key and value it returns the element of the set ... Read More
karthikeya Boyini
77 Views
The parseFloat() function of the Number object accepts a string, parses and returns floating point number represented by it.SyntaxIts Syntax is as followsNumber.parseFloat("32.01");Example Live Demo JavaScript Example var result = Number.parseFloat("32.01"); document.write(result); Output32.01
karthikeya Boyini
171 Views
The Number.EPSILON property of the Number object represents the difference between 1 and the smallest floating point number greater than 1.SyntaxIts Syntax is as followsNumber.EPSILONExample Live Demo JavaScript Example var result = Number.EPSILON; document.write("Value of the epsilon : " + result); OutputValue of the epsilon: 2.220446049250313e-16
karthikeya Boyini
85 Views
The isInteger() function of the Number object accepts a number and determines if it is finite number. If the given number is finite it returns true else, it returns false.SyntaxIts Syntax is as followsNumber.isInteger(100/0);Example Live Demo JavaScript Example var result = Number.isFinite(100/0); ... Read More
karthikeya Boyini
161 Views
The round() function of the Math object accepts a floating point random number and returns its nearest integer value.If the given number is x.5 or more this function returns the next number (x+1)If the given number is x.4 or less this function returns the previous number (x-1).If the given number ... Read More
karthikeya Boyini
115 Views
The sqrt() function of the Math object accepts a number and returns the square root value of the given number.SyntaxIts Syntax is as followsMath.sqrt();Example Live Demo JavaScript Example var result = Math.sqrt(169); document.write("Square root value of the given number: ... Read More
karthikeya Boyini
177 Views
The hypot() function of the Math object accepts numbers and returns the square root of the sum of squares of the given numbers.SyntaxIts Syntax is as followsMath.hypot(12, 58, 66);Example Live Demo JavaScript Example var result = Math.hypot(12, 58, 66); document.write("hypot value: "+result); Outputhypot value: 88.67919710958147
karthikeya Boyini
93 Views
The log1p() function of the Math object accepts a number and returns the natural logarithm (base E) of the (given number+1).SyntaxIts Syntax is as followsMath.log1p(48);Example Live Demo JavaScript Example var result = Math.log1p(48); document.write("Result: "+result); OutputResult: 3.8918202981106265
karthikeya Boyini
73 Views
The asinh() function of the Math object accepts a number and returns its hyperbolic arc sine 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.asinh(0.5)Example Live Demo JavaScript Example ... Read More