Content deleted Content added
BMarie 212 (talk | contribs) |
BMarie 212 (talk | contribs) m →Zoned decimal: Structural edit to follow an established pattern set by the rest of the article |
||
Line 422:
===Fixed-point packed decimal===
[[Fixed-point arithmetic|Fixed-point]] decimal numbers are supported by some programming languages (such as COBOL and PL/I). These languages allow the programmer to specify an implicit decimal point in front of one of the digits.
For example, a packed decimal value encoded with the bytes 12 34 56 7C represents the fixed-point value +1,234.567 when the implied decimal point is located between the fourth and fifth digits: 12 34 56 7C
''12 34.56 7+''
|