Description:
Javascript boolean valueOf() method returns the primitive value of the specified booleanobject..
Syntax:
boolean.valueOf()
Here is the detail of parameters:
NA
Return Value:
Returns the primitive value of the specified boolean object.
Example:
<html>
<head>
<title>JavaScript valueOf() Method</title>
</head>
<body>
<script type="text/javascript">
var...
SVN, iOS, VB.Net, JAVA, PHP, Python, Ruby, Perl, HTML, CSS, Javascript, MySQL, C++, UNIX,Tutorial, Examples,
Javascript Boolean toString() Method
4/4/14
Description:
This method returns a string of either "true" or "false" depending upon the value of the object.
Syntax:
boolean.toString()
Here is the detail of parameters:
NA
Return Value:
Returns a string representing the specified Boolean object.
Example:
<html>
<head>
<title>JavaScript toString() Method</title>
</head>
<body>
<script type="text/javascript">
var flag...
Javascript Boolean toSource() Method
4/4/14
Description:
Javascript boolean toSource() method returns a string representing the source code of the object.
Note: This method does not work in Internet Explorer.
Syntax:
boolean.toSource()
Here is the detail of parameters:
NA
Return Value:
Returns a string representing the source code of the object.
Example:
<html>
<head>
<title>JavaScript toSource() Method</title>
</head>
<body>
<script...
Javascript Number - valueOf()
4/4/14
Description:
This method returns the primitive value of the specified number object.
Syntax:
number.valueOf()
Here is the detail of parameters:
NA
Return Value:
Returns the primitive value of the specified number object.
Example:
<html>
<head>
<title>JavaScript valueOf() Method </title>
</head>
<body>
<script type="text/javascript">
var num = new...
Javascript Number - toString()
4/4/14
Description:
This method returns a string representing the specified object. The toString method parses its first argument, and attempts to return a string representation in the specified radix (base).
Syntax:
number.toString( [radix] )
Here is the detail of parameters:
radix: An integer between 2 and 36 specifying the base to use for representing numeric values.
Return Value:
Returns a string representing...
Javascript Number - toPrecision()
4/4/14
Description:
This method returns a string representing the number object to the specified precision.
Syntax:
number.toPrecision( [ precision ] )
Here is the detail of parameters:
precision: An integer specifying the number of significant digits.
Return Value:
Returns a string representing a Number object in fixed-point or exponential notation rounded toprecision significant digits.
Example:
<html>
<head>
<title>JavaScript...
Javascript Number - toLocaleString()
4/4/14
Description:
This method converts a number object, into a human readable string representing the number using the locale of the environment.
Syntax:
number.toLocaleString()
Here is the detail of parameters:
NA:
Return Value:
Returns a human readable string representing the number using the locale of the environment.
Example:
<html>
<head>
<title>JavaScript toLocaleString() Method </title>
</head>
<body>
<script...
Javascript Number - toFixed()
4/4/14
Description:
This method formats a number with a specific number of digits to the right of the decimal.
Syntax:
number.toFixed( [digits] )
Here is the detail of parameters:
digits: The number of digits to appear after the decimal point.
Return Value:
A string representation of number that does not use exponential notation and has exactly digitsdigits after the decimal place.
Example:
<html>
<head>
<title>JavaScript...
Javascript Number - toExponential()
4/4/14
Description:
This method returns a string representing the number object in exponential notation
Syntax:
number.toExponential( [fractionDigits] )
Here is the detail of parameters:
fractionDigits: An integer specifying the number of digits after the decimal point. Defaults to as many digits as necessary to specify the number.
Return Value:
A string representing a Number object in exponential notation...
Javascript Number - constructor()
4/4/14
Description:
This method returns a reference to the Number function that created the instance's prototype.
Syntax:
number.constructor()
Here is the detail of parameters:
NA
Return Value:
Returns the function that created this object's instance.
Example:
<html>
<head>
<title>JavaScript constructor() Method</title>
</head>
<body>
<script type="text/javascript">
var num...
CSS Quick Guide
4/4/14
This is a quick guide for web developers where we have listed all the CSS properties defined in the World Wide Web Consortium's Recommended Specification for Cascading Style Sheets, Level 2
We include each property's possible values, defined as either an explicit keyword or as one of these values:
angle: A numeric value followed by deg, grad or rad.
color: Either a color name or hexadecimal RGB...
Subscribe to:
Posts (Atom)
Related Posts
-
If you want to list down your website, book or any other resource on this page then please contact at webmaster@tutorialspoint.com CSS 1...
-
This is a complete reference guide for web developers where haved we listed all the CSS properties defined in the World Wide Web Consortium...
-
If you think this PDF is worth of $5.99 value, kindly pay this little amount using a Credit Card or PayPal for the PDF. Download CSS Tu...
-
Description: This method creates an HTML anchor that is used as a hypertext target. Syntax: string .anchor( anchorname ) Here is ...
-
Description: This method returns a number indicating whether a reference string comes before or after or is the same as the given string ...
-
Description: Javascript array unshift() method adds one or more elements to the beginning of an array and returns the new length of the...
-
Description: This method converts a number object, into a human readable string representing the number using the locale of the environ...
-
Description: Javascript boolean valueOf() method returns the primitive value of the specified boolean object.. Syntax: boolean .va...
-
Description: This method returns the index within the calling String object of the last occurrence of the specified value, starting the s...
-
Description: Javascript array toString() method returns a string representing the source code of the specified array and its elements. ...