InterviewSolution
| 1. |
How To Convert A String To A Number Using Javascript? |
|
Answer» You can use the parseInt() and parseFloat() methods. NOTICE that extra letters following a valid number are ignored, which is kinda wierd but convenient at times. You can use the parseInt() and parseFloat() methods. Notice that extra letters following a valid number are ignored, which is kinda wierd but convenient at times. |
|