changed Decimal in ifs and formula