Home
Recent Q&A
Java
Cloud
JavaScript
Python
SQL
PHP
HTML
C++
Data Science
DBMS
Devops
Hadoop
Machine Learning
Azure
Blockchain
Devops
Ask a Question
How to convert string of any base to an integer using JavaScript?
Home
JavaScript
How to convert string of any base to an integer using JavaScript?
0
votes
asked
Sep 20, 2021
in
JavaScript
by
sharadyadav1986
How to convert string of any base to an integer using JavaScript?
integer-string
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Sep 20, 2021
by
sharadyadav1986
By using the parseInt() function, you can transform numbers among different bases.
Your comment on this answer:
Email me at this address if a comment is added after mine:
Email me if a comment is added after mine
Privacy: Your email address will only be used for sending these notifications.
Related questions
0
votes
Q: How to convert string to integer in java?
asked
Oct 20, 2020
in
JAVA
by
sharadyadav1986
#string-to-integer
#integer-in-java
Java-questions-answers
0
votes
Q: how to convert integer to string in java?
asked
Oct 18, 2020
in
JAVA
by
sharadyadav1986
#convert-integer-to-string
#integer-to-string-java
#string-in-java
Java-questions-answers
0
votes
Q: How to convert string to title case with javascript?
asked
Oct 7, 2023
in
JavaScript
by
GeorgeBell
javascript-interview-questions-answers
0
votes
Q: What happens if you add a string to an integer using the + operator?
asked
Mar 19, 2020
in
PHP
by
DavidAnderson
#php
0
votes
Q: Suppose we have a text "human" that we want to convert into string without using the "new" operator.
asked
Mar 20, 2021
in
JavaScript
by
sharadyadav1986
javascript
javascript-string
string-function
0
votes
Q: What form of type conversion does Go support? Convert an integer to a float.
asked
Aug 11, 2022
in
GoLang
by
SakshiSharma
type-conversion
golang
integer
data-types
0
votes
Q: JavaScript function JSON.parse() is to convert text into string.
asked
Jan 23, 2020
in
JAVA
by
rahuljain1
#json-parse
Java-questions-answers
0
votes
Q: What is the easiest way to convert an array to an object in javascript?
asked
Oct 21, 2023
in
JavaScript
by
DavidAnderson
javascript-interview-questions-answers
0
votes
Q: Will a comparison of an integer 12 and a string "13" work in PHP?
asked
Jun 23, 2019
in
PHP
by
SakshiSharma
#php
#php-php
#php-server-monitor-script
#php-support
#mysql-php
#php-programmer
#php-development
#php-language
0
votes
Q: Javascript string using double quotes is exactly the same as a string using single quotes?
asked
Oct 9, 2022
in
JavaScript
by
Robin
javascript
string
...