CCS Standardfunction PrintInt [Str] |
Represents an integer value as a formatted string.
In the case of decimal format, the minus sign is always shown but the plus sign only if the relevant presentation format is selected. In the case of binary, octal and hexadecimal formats, negative values are converted according to the following formula:
|
base = 2, 8 or 16 for BIN, OCT or HEX format |
Value (or variable containing the integer value) to be represented as a formatted string.
The number of characters to be used to represent the value as a string. If no leading zeros are to be shown, only as many characters as necessary are used. The parameter Characters is then interpreted as the maximum permissible number of characters; if the specified number is insufficient, an error message is returned.
Specifies whether leading zeros are to be shown or not.
J = Yes, show leading zeros
N = No, do not show leading zeros