added getter and setter for egShowDecimal