IT lexicon › Programming › Formatted I/O

Formatted I/O

Programming På svenska → Updated: 2026-11-13

Input and output commands that follow format specifications for how data should be read or written — precise control over columns, decimals, and character conversion.

Fortran and COBOL offered FORMAT statements to precisely control how numbers and text were presented: decimal places, leading zeros, separators. A value could be displayed as `3.14` or ` 3.1400` or `3/1/4` depending on the format. Powerful but cumbersome notation; most later languages abandoned this level of control.

← Back to the lexicon