Member of the string class.
c = dec2hex(a)
c = dec2hex(a, b)
Converts a decimal number to a hexadecimal number represented by a string.
| Name | Description |
| a | Specifies a decimal number. a is an integer between 0 and 2^52-1. LabVIEW rounds a if a is not an integer. |
| b | Specifies the number of hex-digits in c. b is a positive integer. |
| Name | Description |
| c | Returns a hexadecimal number equivalent to a. c is a string. Valid hexadecimal characters are: 0-9, A, B, C, D, E and F. |
A = 2562525
C = dec2hex(A)