Class BigDecRelational

All Implemented Interfaces:
PostfixMathCommandI, Serializable
Direct Known Subclasses:
BigDecTieBreakComparative

public class BigDecRelational extends Comparative
Implements the relational operations <, >, <=, >=, != and ==. BigDecimals can be compared to each other. Boolean values can be compared to each other. If the allowStrings option is set then Strings can be compared to each other. An illegal parameter exception is thrown if BigDecimals and Booleans or BigDecimals and Strings or Booleans and Strings are compared.
Version:
5.3 Now extends Comparative so can be used in MinMax
Author:
N Funk
See Also:
  • Field Details

    • id

      protected final int id
  • Constructor Details

    • BigDecRelational

      public BigDecRelational(int id_in)
      Constructor. Sets the number of parameters to 2.
      Parameters:
      id_in - The id of the comparative operator.
  • Method Details