.. _hex-dlr: HEX$ ==== +----------+------------------------------------------------------------------+ | Syntax | HEX$ (decimal,nibbles) or | | | | | | HEX$ (decimal [,nibbles]) (THOR only) | +----------+------------------------------------------------------------------+ | Location | Toolkit II, THOR XVI | +----------+------------------------------------------------------------------+ This function converts a signed integer decimal number to the equivalent hexadecimal number to a specified number of nibbles (ranging from 1 to 32 - there are 4 nibbles in one digit). If nibbles is not divisible by four, it is rounded up to the next multiple of four. Negative values are also handled correctly provided that nibbles is set to 32. The range of decimal is -2^31