hex#

swordfish.function.hex()#

Convert data of INTEGRAL, FLOAT, COMPLEX, and BINARY types to hexadecimal and return a string.

参数:
  • X (Constant) -- An integer scalar/vector.

  • reverse (Constant, optional) -- A Boolean value indicating whether to reverse the order of the result. The default value is false.