====== DP(value, numberOfDigits, zeroPrint) ====== ''DP'' converts a variable into a decimal string representation. If ''zeroPrint'' is set to 1, zeros are printed instead of blank spaces. Dim A as Integer Debug DP(A,10,0) ' Convert A into decimal String representation. ' Set numberOfDigits to 10. ' If A is 1234, " 1234" will be displayed. ' (notice the 6 leading spaces) Debug DP(A,10,1) ' If A is 1234, "0000001234" will be displayed. {{:cubloc:dp:cublocdp.png?600|}} See also [[:cubloc:hp:|HP]] and [[:cubloc:FP:]]. [[cubloc:index#system_library:|Go CUBLOC home]]