JavaScript primitive values, Booleans, numbers, and strings, are pseudo-objects : Introdunction : Number Data Type JAVASCRIPT TUTORIALS
Ajax
Ajax Examples
Ajax Tutorials
Scripts and Programs
Javascript
Javascript Examples Tutorials
DHTML Tutorials
Javascript References
Scripts and Programs
HTML
HTML Tutorials
HTML References
HTML DOM 0 References
HTML DOM 2 References
CSS
CSS Tutorials
CSS References
PHP
PHP Source Code
PHP References
Scripts and Programs
C#
C# Source Code
C# Examples
JAVASCRIPT TUTORIALS
»
Number Data Type
»
Introdunction
»
JavaScript primitive values, Booleans, numbers, and strings, are pseudo-objects
They actually have properties and methods.
var sColor =
"blue"
;
alert
(
sColor.length
)
;
//outputs "4"
HTML code for linking to this page:
Related in same category :
Numbers
Number() Object
Variables are loosely typed.
Built-in Values
Special Numerical Values
Primitive and Reference Values
Primitive Types
The Undefined Type
The Null Type
The Boolean Type
The Number Type
Number.MAX_VALUE and Number.MIN_VALUE define the outer bounds of the Number value set
NaN stands for Not a Number
Reference Types
JAVASCRIPT TUTORIALS
Number Data Type
»
Introdunction
Introdunction
MIN_VALUE
Boolean
NaN
Integer
NEGATIVE_INFINITY
Float
null
Precision
POSITIVE_INFINITY
Number Constructors
prototype
Number Format
toExponential
Type Conversion
toLocaleString
Undefined
toPrecision
valueOf
toSource
Maximum Minimum Values
toString
MAX_VALUE
Animation
Array
Date
Development
Dialogs
Document
DOM Node
Drag Drop
Event
Form
Function
Global
GUI Components
History
HTML Tags
Language Basics
Location
Math
MS JScript
Navigator
Number Data Type
Object Oriented
Operators
PHP functions in JavaScript
Regular Expressions
Screen
Statement
String
Style
Window
XML