Convert String Into Integer In Javascript