Class InputBaseN

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

@BoxBIF(description="Convert a string number from specified base to decimal") @BoxMember(type=STRING_STRICT, name="InputBaseN") public class InputBaseN extends BIF
  • Constructor Details

    • InputBaseN

      public InputBaseN()
      Constructor
  • Method Details

    • _invoke

      public Number _invoke(IBoxContext context, ArgumentsScope arguments)
      Converts a string, using the base specified by radix, to an 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 integer value of the string.