Difference between revisions of "Manuals/calci/DEC2HEX"
Jump to navigation
Jump to search
Line 5: | Line 5: | ||
DEC2HEX() converts a decimal number to its hexadecimal equivalent. | DEC2HEX() converts a decimal number to its hexadecimal equivalent. | ||
+ | |||
+ | == Description == | ||
+ | |||
+ | DEC2HEX(number, places) | ||
*If the number is nonnumeric or negative, Calci returns an #ERROR value. | *If the number is nonnumeric or negative, Calci returns an #ERROR value. | ||
*If 'places' is non-numeric or negative, Calci returns an #ERROR value. | *If 'places' is non-numeric or negative, Calci returns an #ERROR value. | ||
− | + | For Example, | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | DEC2HEX(50, 5) ''returns 32'' | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | DEC2HEX(35) ''returns 23'' | |
− | + | == Examples == | |
− | |||
− | |||
<div id="1SpaceContent" class="zcontent" align="left"> | <div id="1SpaceContent" class="zcontent" align="left"> | ||
Revision as of 15:57, 16 November 2013
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.
Description
DEC2HEX(number, places)
- If the number is nonnumeric or negative, Calci returns an #ERROR value.
- If 'places' is non-numeric or negative, Calci returns an #ERROR value.
For Example,
DEC2HEX(50, 5) returns 32
DEC2HEX(35) returns 23
Examples
Column1 | Column2 | Column3 | Column4 | |
Row1 | 32 | 23 | ||
Row2 | ||||
Row3 | ||||
Row4 | ||||
Row5 | ||||
Row6 |