For base19 and base24 both, value of a is 10 and b is 11 that I know.
But
parseInt("ab", 19) returns 201 and parseInt("ab", 24) returns 251.
I want to know that how calculation is being done in each case.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
it’s easy
here is the wikipedia article on how to use positional notation and here a simple tutorial on base conversion.