simplifying iz_decimal logic