Was this helpful?
Numeric Format I
The I format prints numeric expressions in integer format. The syntax of the I format specification is:
[-|*|+] iw
where:
w
Specifies the maximum field width.
Specifying i9 prints a number up to nine characters long in integer format, including an optional sign, and left justifies it in the column by default. Specifying a plus sign (+i9) right justifies the number in the column.
Format
Value
Output
i10
22,000
22000^^^^^
I10
-120,300,000
-120300000
i4
123.789
124^
i4
22,800
****
+i8
22.4
^^^^^^22
-i8
22.6
23^^^^^^
Last modified date: 11/09/2022