basic.dtx
Converts decimal to hexadecimal.
Syntax
dtx(num.expression)
Description
converts a given decimal number to its corresponding hexadecimal equivalent. The number is first converted to an integer by truncating the fractional part.
The expression can be in the range {+/-}140737488355327*(10(-p)), where the 'p' represents the precision number.
Example
input fid
crt 'hex of ' : fid : ' is ' : dtx(fid)
The variable 'fid' is a decimal Pick frame number (frame-id). This
program shows the frame-id in hexadecimal.
See Also
User Comments
What do you think?
Share your experience or ask a question by using the form below.
Login to leave your comments.
