change unit_numer to not be forced to integer