Converts a decimal number to a hexadecimal number represented by a string.
c = dec_to_hex(a)
c = dec_to_hex(a, b)Legacy name: dec2hex
Vector or matrix with decimal numbers. a is an integer between 0 and 2^52-1. MathScript rounds a if a is not an integer.
Number of hex-digits in c. b is a positive integer.
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 = dec_to_hex(A)
Where This Node Can Run:
Desktop OS: Windows
FPGA: This product does not support FPGA devices