Replaced parseInt with parseFloat (you might use like 0.3em)