Class RationalType
A rational number (i.e a fraction)
- chippyash\Type\AbstractType implements chippyash\Type\Interfaces\TypeInterface
- chippyash\Type\AbstractMultiValueType
- chippyash\Type\Number\Rational\AbstractRationalType implements chippyash\Type\Interfaces\RationalTypeInterface, chippyash\Type\Interfaces\NumericTypeInterface
- chippyash\Type\Number\Rational\RationalType
public
|
#
__construct(
Construct new rational Use the RationalTypeFactory to create rationals from native PHP types |
__toString(),
abs(),
asComplex(),
asFloatType(),
asIntType(),
asRational(),
denominator(),
getAsNativeType(),
isInteger(),
negate(),
numerator()
|
__clone(),
__invoke(),
get(),
set()
|