ထႅမ်းပလဵတ်ႉ:Pounds, shillings, and pence
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 £{{£sd|s=10|d=6}}
= £0.53.
The parameters are as follows:
l
- The number of poundss
- The number of shillingsd
- The number of penceg
- The number of guineasm
- The number of marksround
- 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}}
ၽိုၼ်ၵႅမ်မိုဝ်းလၢႆးၸႂ်ႉတိုဝ်း (documentation)တီႈၽၢႆႇၼိူဝ်ၼႆႉ လုၵ်ႉတီႈ ထႅမ်းပလဵတ်ႉ:Pounds, shillings, and pence/doc သေ ၶၢႆႉသႂ်ႇၶဝ်ႈ (ႁဵတ်း transclude ဝႆႉၶႃႈဢေႃႈ။ (မႄးထတ်း | ပိုၼ်း) ၽူႈၸိူဝ်းမႄးထတ်းၶဝ် ၸၢင်ႈၸၢမ်းတူၺ်းလႆႈ ၸိူဝ်းပဵၼ်ၼႃႈလိၵ်ႈ sandbox (သၢင်ႈ | ငဝ်းမိူၼ်) လႄႈ testcases (သၢင်ႈ) ႁင်း ထႅမ်းပလဵတ်ႉဢၼ်ၼႆႉ လႆႈယူႇၶႃႈ။ သႂ်ႇပိူင်ထၢၼ်ႈ ၵႃႈတီႈ ၼႃႈလိၵ်ႈၽႄ /doc လႄႈ။ ၼႃႈလိၵ်ႈၽႄ ႁင်း ထႅမ်းပလဵတ်ႉ ဢၼ်ၼႆႉ။. |