+ 1
Newbie
Var distance = parseInt(readLine(), 10) What is parseInt and readLine mean?
5 odpowiedzi
+ 3
parseInt means integer or int. And readLine() means the method through which we take input through strings. So indeed it is converting string to int
+ 2
Number() is similar to parseInt() :
https://www.sololearn.com/post/115762/?ref=app
3 Ways to Output in a webpage:
https://code.sololearn.com/W1jG7sDx95T6/?ref=app
+ 1
Gordon has put off the example for it
0
Atul is there any command or thing that similar to those two?