Interface NumericTypeInterface
A interface to mark numeric types
Direct known implementers
chippyash\Type\Number\Complex\AbstractComplexType, chippyash\Type\Number\FloatType, chippyash\Type\Number\IntType, chippyash\Type\Number\Rational\AbstractRationalTypeIndirect known implementers
chippyash\Type\Number\Complex\ComplexType, chippyash\Type\Number\Complex\GMPComplexType, chippyash\Type\Number\GMPIntType, chippyash\Type\Number\NaturalIntType, chippyash\Type\Number\Rational\GMPRationalType, chippyash\Type\Number\Rational\RationalType, chippyash\Type\Number\WholeIntType
public
|
|
public
|
|
public
|
#
asRational( )
Return number as Rational number. NB, numerator and denominator will be caste as IntTypes |
public
|
|
public
|
|
public
|