Alternative constructor which only accepts instances of decimal.Decimal or numbers.Integral.
classmethod from_decimal(dec)