java.lang.Object
ortus.boxlang.runtime.bifs.BIF
ortus.boxlang.runtime.bifs.global.math.Max

@BoxBIF public class Max extends BIF
  • Constructor Details

    • Max

      public Max()
      Constructor
  • Method Details

    • _invoke

      public Object _invoke(IBoxContext context, ArgumentsScope arguments)
      Return larger of two numbers
      Specified by:
      _invoke in class BIF
      Parameters:
      context - The context in which the BIF is being invoked.
      arguments - Argument scope for the BIF.
      Returns:
      The result of the invocation
    • _invoke

      public static Object _invoke(double number1, double number2)
      Return larger of two numbers
      Parameters:
      number1 - The first number
      number2 - The second number
      Returns:
      The larger of the two numbers