Overview

Namespaces

  • chippyash
    • Type
      • Exceptions
      • Interfaces
      • Number
        • Complex
        • Rational
      • String

Interfaces

  • ComplexTypeInterface
  • GMPInterface
  • NumericTypeInterface
  • RationalTypeInterface
  • TypeInterface
  • Overview
  • Namespace
  • Class
  • Tree

Interface RationalTypeInterface

Interface for chippyash\Type\Number\Rational\RationalType types Makes it broadly compatible with other types

chippyash\Type\Interfaces\RationalTypeInterface implements chippyash\Type\Interfaces\TypeInterface

Direct known implementers

chippyash\Type\Number\Rational\AbstractRationalType

Indirect known implementers

chippyash\Type\Number\Rational\GMPRationalType, chippyash\Type\Number\Rational\RationalType
Namespace: chippyash\Type\Interfaces
Located at Interfaces/RationalTypeInterface.php
Methods summary
public mixed
# numerator( )

Get the numerator

Get the numerator

Returns

mixed
mixed
public mixed
# denominator( )

Get the denominator

Get the denominator

Returns

mixed
mixed
Methods inherited from chippyash\Type\Interfaces\TypeInterface
__invoke(), __toString(), get(), set()
Chippyash Strong Types API documentation generated by ApiGen 2.8.0