Saturday, May 27, 2006

Sterling Data Type

At work we recently moved offices. During the move we threw out a load of old manuals which aren't needed any more. I commandeered some of them, and while browsing through 'A PL/I Primer' (Copyright 1965 IBM) I discovered that PL/I has a facility for handling data stated in terms of British sterling currency value. What's so interesting about that, I wondered? I read on:

A sterling data constant ends with the letter L, representing the pounds symbol, for example:

2.4.6L

This sterling constant represents two pounds, four shillings, six pence.

No comments: