java.lang.Object
ortus.boxlang.runtime.bifs.BIF
ortus.boxlang.runtime.bifs.global.conversion.ToNumeric

@BoxBIF public class ToNumeric extends BIF
  • Constructor Details

    • ToNumeric

      public ToNumeric()
      Constructor
  • Method Details

    • _invoke

      public Object _invoke(IBoxContext context, ArgumentsScope arguments)
      Cast a value to a number.
      Specified by:
      _invoke in class BIF
      Parameters:
      context - The context in which the BIF is being executed.
      arguments - The arguments passed to the BIF.
      Returns:
      The numeric value of the input.