Template:Pounds, shillings, and pence/doc

Converts the pre-1971 subunits of the pound sterling to its modern decimal subunits. Also supports conversion of guineas (21 shillings) and marks (13s 4d; or 160d); if the main units (pounds, shillings, and pence), guineas, and marks are all used at once it returns the (decimalised) sum of all units. It does not natively include subdivisions of the penny (halfpennies, farthings, quarter-farthings, etc.); those must be pre-decimalised and inputted as part of the "d" parameter, which should be fairly easy to do. The rounding provided in the result is by default two decimal places but can be modified in the "round" parameter.

For example, the Mad Hatter's hat is worth 10/6, which is  = £.

The parameters are as follows:
 * - The number of pounds
 * - The number of shillings
 * - The number of pence
 * - The number of guineas
 * - The number of marks
 * - The number of digits after the decimal point to which the result is rounded

Round has a default value of 2, while all other parameter values default to zero.

Aliases
 * £sd, but not LSD
 * GBP-Decimalise