RatioNumber

com.phasmidsoftware.number.expression.parse.BaseRationalParser.RatioNumber
case class RatioNumber(numerator: BaseRationalParser.this.WholeNumber, denominator: BaseRationalParser.this.WholeNumber) extends ValuableNumber

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def value: Try[Rational]

Evaluate this RationalNumber as a Try[Rational].

Evaluate this RationalNumber as a Try[Rational].

Attributes

Returns

a Try[Rational]

Inherited methods

def productElementNames: Iterator[String]

An iterator over the names of all the elements of this product.

An iterator over the names of all the elements of this product.

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

An iterator over all the elements of this product.

An iterator over all the elements of this product.

Attributes

Returns

in the default implementation, an Iterator[Any]

Inherited from:
Product