Class RandRange

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

@BoxBIF public class RandRange extends BIF
  • Constructor Details

    • RandRange

      public RandRange()
      Constructor
  • Method Details

    • _invoke

      public Number _invoke(IBoxContext context, ArgumentsScope arguments)
      Return a random int between number1 and number 2
      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