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

@BoxBIF @BoxMember(type=NUMERIC, name="Round") public class Round extends BIF
  • Constructor Details

    • Round

      public Round()
      Constructor
  • Method Details

    • _invoke

      public Number _invoke(IBoxContext context, ArgumentsScope arguments)
      Rounds a number to the closest integer.
      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