Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
FUNCTION DECTOHEX
PARAMETER m.INTVALUE
PRIVATE m.STRING,I,X
DECLARE MBLOCKS[4]
M.STRING = ""
FOR I = 4 TO 1 STEP -1
MBLOCKS[I] = INT(m.INTVALUE/(16 ^ (I-1)))
M.INTVALUE = m.INTVALUE - (MBLOCKS[I]*(16 ^ (I-1)))
M.STRING = m.STRING + SUBSTR("0123456789ABCDEF",MBLOCKS[I]+1,1)
NEXT
RETURN(m.STRING)