====== HP(value, numberOfDigits, zeroPrint) ====== ''HP'' converts a variable into a hexadecimal string representation. If ''zeroPrint'' is set to 1, zeroes are substituted for blank spaces. Debug HP(A,4,0) ' Convert A into HEX String representation ' Set numberOfDigits to 4. ' If A is ABC in hexadecimal, " ABC" will be displayed. ' (notice the single leading space) Debug HP(A,4,1) ' If A is ABC in hexadecimal, "0ABC" will be displayed {{:cubloc:dp:cublochp.png?600|}} See also [[:cubloc:dp:|DP]] and [[:cubloc:FP:]]. [[cubloc:index#system_library:|Go CUBLOC home]]