if str_val[2] != 0:
                    output += units[int(str_val[2]) - 1]