Interface Numeric

All Superinterfaces:
ArithmeticOperator, Term
All Known Implementing Classes:
DecimalFraction, IntegerNumber

public interface Numeric extends Term, ArithmeticOperator
A Term that has a numerical value.
See Also:
  • Method Details

    • getLong

      long getLong()
      Returns the value of this numeric as a long.
      Returns:
      the value of this numeric as a long
    • getDouble

      double getDouble()
      Returns the value of this numeric as a double.
      Returns:
      the value of this numeric as a double