0
Hello programmers! I have a question. How do I make strings like "true" Or "20" Into numbers/booleans?
4 Answers
+ 3
Number(true)
Number(20)
Boolean(true)
Boolean(20)
+ 4
You have to specify the programming language
+ 1
JavaScript
+ 1
Thank you so much! Have a nice day.