ထႅမ်းပလဵတ်ႉ:Cipher
Appearance
ၽိုၼ်ၵႅမ်မိုဝ်းထႅမ်းပလဵတ်ႉ
This template extracts one digit from an integer value of up to 12 digits.
Usage
{{Cipher|{{{1}}}|{{{2}}}}}
The first parameter is the integer value, the second is the position of the digit, from right to left (one, tenth, hundreds etc.).
Having a value above the number of digits, a zero is returned.
Examples
{{Cipher|9876543210|0}}
results in 0.
{{Cipher|9876543210|9}}
results in 9.
{{Cipher|123456789|0}}
results in 9.
{{Cipher|123456789|8}}
results in 1.
{{Cipher|432109876543210|12}}
results in 2.
{{Cipher|432109876543210|13}}
results in 0!
Note
This template is used by templates with mathematical terms and therefore appears to be integrated in very few pages.
ၽူႈၸိူဝ်းမႄးထတ်းၶဝ် ၸၢင်ႈၸၢမ်းတူၺ်းလႆႈ ၸိူဝ်းပဵၼ်ၼႃႈလိၵ်ႈ sandbox (သၢင်ႈ | ငဝ်းမိူၼ်) လႄႈ testcases (သၢင်ႈ) ႁင်း ထႅမ်းပလဵတ်ႉဢၼ်ၼႆႉ လႆႈယူႇၶႃႈ။ ၼႃႈလိၵ်ႈၽႄ ႁင်း ထႅမ်းပလဵတ်ႉ ဢၼ်ၼႆႉ။. |