Remove NaN check so that any united value can be used (like em for example)