L: Difference between revisions

From BR Wiki
Jump to navigation Jump to search
(Created page with "The '''L (long) format specification''' is used for System/23 compatibility only. It identifies a double-precision floating-point number that uses 9 characters of storage spac...")
 
No edit summary
Line 9: Line 9:
;Technical Considerations:
;Technical Considerations:
:1.) By definition, L is not portable; it is native to the floating-point format of the machine.
:1.) By definition, L is not portable; it is native to the floating-point format of the machine.
===See Also===
The letter L can also be used as a [[Attribute (Screen)#Control Attributes|Control Attribute]].


<noinclude>
<noinclude>
[[Category:Format Specifications]]
[[Category:Format Specifications]]
</noinclude>
</noinclude>

Revision as of 15:08, 7 August 2013

The L (long) format specification is used for System/23 compatibility only. It identifies a double-precision floating-point number that uses 9 characters of storage space. L may be used with FORM for internal or external files; it may also be used with full screen processing.

Input characteristics

When L is used with FORM for internal and external files, it is identical to the D format spec except that L requires nine characters of storage (D requires only eight). When L is used for input with full screen processing, the field length must account for a leading minus sign and decimal point if needed. Fraction length is optional. Numbers are not redisplayed (with the specified number of decimal places) when editing a field. L will retain extra decimal positions if they are entered and if the specified field length allows for them.

Output characteristics

All significant digits in L-formatted data will be output exactly as they were input.

Technical Considerations
1.) By definition, L is not portable; it is native to the floating-point format of the machine.

See Also

The letter L can also be used as a Control Attribute.