var n="100.11px";console.log(Number(n));//NaNconsole.log(parseInt(n));//100console.log(parseFloat(n));//100.11