Comment: |
The number is padded on the left with space characters.
If the number to be displayed is too large to fit within the specified width, then 'width-1' characters of the number are displayed, with a leading # symbol to indicate that characters are missing from the displayed number. Thus, where a width is too small, the displayed value still fits within the field length (to preserve screen layout in applications) and a visible warning (in the form of the # symbol) is given to warn the user that digits remain hidden. This approach is borrowed from spreadsheet
applications where a leading # indicates insufficient field width. If the specified field width is <=0 then it is replaced with 1.
|