Home
• Programming • JavaScript
Sep 8th, 2013 at 12:02 AM
JavaScript variable and parsing data
To convert string to integer use funcition parseInt() Example:
<script> var x; y="6" x=20; document.writeln(x+y); document.write(x+parseInt(y)); </script>
Output
206 26
First
Prev
Next
Last
/58
Comments 0
Comment
About Author
Mohammad Towhidul Islam
University
Campus
340+
Online Tips
Study
29+
Computer
107+
Religious
31+
Fashion & Design
9+
Agriculture
55+
VCampus Help
25+
Intorior Design
18+
Photography
15+
Health
64+
Mobile
2+
SEO
8+
ASCII Art
7+
Phone Book
2+
Shopping
1+
Music
7+
Recipe
1+
Engineering
Computer
12+
EEE
1+
Programming
Java
33+
C#.NET
23+
C++
4+
JQuery
10+
PHP
47+
HTML5
14+
C
15+
CSS
36+
ASP.NET Core
14+
JavaScript
58+
ADO.NET
10+
Git and GitHub
1+
SQL
3+
PLSQL
1+
Fltter
4+
Angular
8+
OpenGL
1+
Python
2+
Perl
1+
SASS
2+
React
11+
General Subjects
Drawing
10+
Computing
7+
English
20+
Math
6+
Politics
3+
Social & Culture
1+
Biography
1+
Science
Physics
3+
Chemistry
5+
Biology
3+
News
Sports News
3+
Weather News
7+
Entertainment News
2+
Career News
3+
International News
1+
Jobs
Education/Training
1+
IT & Telecommunication
9+
Others
2+
Commerce
Accounting
27+
Management
4+
Economics
1+
General Knowledge
Bangladesh
8+
Science & Technology
11+
English & Literature
4+
International
5+
Others
5+
Bengali & Literature
3+
Current affairs
1+
Mathematics
2+
Story, Tales & Poem
Fiction
1+
Jokes
6+
Poem
1+
Software Application
Microsoft Excel
3+
Adobe Photoshop
2+
Adobe Flash
1+
Editors
1+
Microsoft Word
1+
Framework
Wordpress
15+
phpBB
1+
Laravel
12+
CodeIgniter
4+
Bootstrap
2+
Yii
7+
CakePHP
17+
Magento
10+
Operating System
DOS
2+
Linux
2+
Database
MySQL
25+
Oracle
3+
IBM DB2
1+
Microsoft SQL Server
13+
Microsoft Access
1+
Networking
Computer Networks
3+
Networking Services
1+
Hosting and Server
2+
Quiz
Other
1+
Generic ERP
HR
1+
Schools
App Store
Whiteboard
Blogs
Quiz
Test
Apply Course
Games
Freelancers
Professionals
Newspapers
Terms
Privacy
Copyright © 2024. Powered by
Intellect Software Ltd
Comments 0