How To Convert Variable Into Integer In Javascript W3schools