0

Hello programmers! I have a question. How do I make strings like "true" Or "20" Into numbers/booleans?

11th Jun 2020, 10:42 AM
Alexander Shestakov
Alexander Shestakov - avatar
4 Answers
+ 3
Number(true) Number(20) Boolean(true) Boolean(20)
11th Jun 2020, 10:48 AM
Gordon
Gordon - avatar
+ 4
You have to specify the programming language
11th Jun 2020, 10:45 AM
Gordon
Gordon - avatar
+ 1
JavaScript
11th Jun 2020, 10:47 AM
Alexander Shestakov
Alexander Shestakov - avatar
+ 1
Thank you so much! Have a nice day.
11th Jun 2020, 10:49 AM
Alexander Shestakov
Alexander Shestakov - avatar