DEC2HEX (PQL - xl)

This function converts a decimal number to a hexadecimal number

  • Library: PQL \ Spreadsheet \ Engineering
  • Compatibility: Any content (regardless of data source) in the Tabulate spreadsheet module
  • Solve: This function can be used with the Solve plug-in: both as part of the objective function and constraint functions

Syntax

DEC2HEX(number, OPTIONAL places)

Function Arguments

Name

Description

Type

Optional

number

Decimal numeric value to convert in the range of -549,755,813,888 to 549,755,813,887

Number

places

Number of characters to return; if not an integer, the number is truncated

Number

Y

Comments

This function is the same as the Microsoft Excel 'DEC2HEX' function - using the same inputs, logic and outputs.