Added exponential notation check to units