Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript type casting int

Number("3.14") // returns 3.14
false.toString()   // returns "false"
String(false)      // returns "false"
 
PREVIOUS NEXT
Tagged: #javascript #type #casting #int
ADD COMMENT
Topic
Name
3+5 =