User Tools

Site Tools

한국어

cubloc:dec:index

Dec

Converts an integer variable to a string representation of a decimal (10 bit). Dec8 will format the value to 8 decimal places. (1 to 11 can be used for decimal places)

Debug Dec A   ' If A is 1234, 1234 is printed.
Debug Dec10 A ' If A is 1234, bbbbbb1234 is printed (interpret 'b' is a blank space in this case).
Debug Dec3 A  ' If A is 1234, 234 is printed, first character is truncated

See also Hex

cubloc/dec/index.txt · Last modified: 2017/11/27 09:27 by COMFILE Technology