Manuals/calci/DEC2HEX

From ZCubes Wiki
Revision as of 16:53, 16 November 2013 by Swapna (talk | contribs)
Jump to navigation Jump to search

DEC2HEX(number, places)

  • Where 'number' is the decimal integer to be converted and
  • 'places' is the number of characters to be used to display the output.

DEC2HEX() converts a decimal number to its hexadecimal equivalent.

  • If the number is nonnumeric or negative, Calci returns an #ERROR value.
  • If 'places' is non-numeric or negative, Calci returns an #ERROR value.



Lets see an example,

DEC2HEX(num, p)

=DEC2HEX(50, 5) is 32

=DEC2HEX(35) is 23


Syntax

Remarks

Examples

Description

DEC2HEX(num, p)

Where 'num' is the decimal integer to convert and 'p' is the number of characters to use.


Column1 Column2 Column3 Column4
Row1 32 23
Row2
Row3
Row4
Row5
Row6