ထႅမ်းပလဵတ်ႉ:Percent and number
This template may be used to generate a percentage of total followed by the number. For the reverse, see {{number and percent}}.
လွင်ႈၸႂ်ႉတိုဝ်း
မႄးထတ်း{{percent and number|number|total}}
{{percent and number|number|total|decimals to round to (zero or greater)}}
ပႃႇရႃႇမီႇတႃႇ ဢၼ်ဢမ်ႇလူဝ်ႇလိူၵ်ႈ
မႄးထတ်းFor two-column table output, use |disp=table
To insert a line break before the parenthetical expression, use |disp=br()
To add a prefix to the numbers, use |prefix=
; for example, prefix=$
To add a suffix to the number, use |suffix=
; for example, suffix= units
To pad the result with zeros to achieve the desired precision, use |pad=yes
.
To override the default right alignment in table mode, use |align=left
or |align=center
.
တူဝ်ယၢင်ႇပိုၼ်ႉထၢၼ်
မႄးထတ်း{{percent and number|3333|20000}}
→ 17% (3,333)
{{percent and number|3333|20000|3}}
→ 16.665% (3,333)
{{percent and number|3,333|20,000}}
→ 17% (3,333)
{{percent and number|3,333|20,000|3}}
→ 16.665% (3,333)
{{percent and number|111|1000|4|pad=yes}}
→ 11.1000% (111)
{{percent and number|3333|20000|disp=br()}}
→ 17%
(3,333)
ၼႄလွၵ်းသဵၼ်ႈ
မႄးထတ်း{| class="wikitable sortable"
|-
! Location !! Percentage !! Population
|-
| City A || {{percent and number|5000|12000|disp=table}}
|-
| City B || {{percent and number|6500|12000|disp=table}}
|-
| City C || {{percent and number|500|12000|disp=table}}
|}
Location | Percentage | Population |
---|---|---|
City A | 42% | 5,000 |
City B | 54% | 6,500 |
City C | 4% | 500 |
တူၺ်းပႃး
မႄးထတ်း- {{percentage}}
- {{number and percent}}
ၽိုၼ်ၵႅမ်မိုဝ်းလၢႆးၸႂ်ႉတိုဝ်း (documentation)တီႈၽၢႆႇၼိူဝ်ၼႆႉ လုၵ်ႉတီႈ ထႅမ်းပလဵတ်ႉ:Percent and number/doc သေ ၶၢႆႉသႂ်ႇၶဝ်ႈ (ႁဵတ်း transclude ဝႆႉၶႃႈဢေႃႈ။ (မႄးထတ်း | ပိုၼ်း) ၽူႈၸိူဝ်းမႄးထတ်းၶဝ် ၸၢင်ႈၸၢမ်းတူၺ်းလႆႈ ၸိူဝ်းပဵၼ်ၼႃႈလိၵ်ႈ sandbox (သၢင်ႈ | ငဝ်းမိူၼ်) လႄႈ testcases (သၢင်ႈ) ႁင်း ထႅမ်းပလဵတ်ႉဢၼ်ၼႆႉ လႆႈယူႇၶႃႈ။ သႂ်ႇပိူင်ထၢၼ်ႈ ၵႃႈတီႈ ၼႃႈလိၵ်ႈၽႄ /doc လႄႈ။ ၼႃႈလိၵ်ႈၽႄ ႁင်း ထႅမ်းပလဵတ်ႉ ဢၼ်ၼႆႉ။. |