Command integerconvert

The command integerconvert is used to convert an integer into binary, octal or hexadecimal.

Parameters

  1. base [integer]
    The base that is used in the conversion:
    • 2: binary
    • 8: octal
    • 16: hexadecimal
  2. number [string]
    Decimal number to be converted.
  3. sizereturn [integer]
    Size of the return, if the number entered is larger, there will be added 0 from the left.
  4. variablereturn [string]
    Variable that will store the return of the command.

Example


In the example above number 10 will be converted to binary, octal and hexadecimal values and will be displayed on the display.