Table of Contents

ugBASIC User Manual

HEX

SYNTAX

   = HEX(number)
   = HEX(variable)

PURPOSE

This function converts a number into hexadecimal.

EXAMPLE

  x = HEX( 42 )
  PRINT HEX( y )

ABBREVIATION

 Hx

AVAILABLE ON

ANY PROBLEM?

If you have encountered a problem using this command, if you think there is a bug or the explanation is unclear, please open an issue for this keyword on GitHub. Thank you!

POWERED BY