DecimalFraction class is extended from Constant class.