Documentation icon ၽိုၼ်ၵႅမ်မိုဝ်းထႅမ်းပလဵတ်ႉ[တူၺ်း] [မႄးထတ်း] [ပိုၼ်း] [ၸၢင်း]

လွင်ႈၸႂ်ႉတိုဝ်း

မႄးထတ်း

Returns 1 if the value is numeric and 0 otherwise.

တူဝ်ယၢင်ႇ

မႄးထတ်း
coderesult
{{Ifnumber|1}}

1

{{Ifnumber|one}}

0

{{Ifnumber|}}

0

{{Ifnumber|e<>pi}}

1

{{Ifnumber|1|a number|not a number}}

a number

{{Ifnumber|one|a number|not a number}}

not a number

{{Ifnumber|1000|a number|not a number}}

a number

{{Ifnumber|10.00|a number|not a number}}

a number

{{Ifnumber|1,000|a number|not a number}}

not a number

{{Ifnumber|1,000.50|a number|not a number}}

not a number

{{Ifnumber|99 balloons|a number|not a number}}

not a number

{{Ifnumber|99.9999e10|a number|not a number}}

a number

{{Ifnumber|−123|a number|not a number}}

a number

{{Ifnumber|(456)|a number|not a number}}

a number

{{Ifnumber|{{val|123|5}}|number|value "{{val|123|5}}" not numeric}}  value "123±5" not numeric

မၢႆတွင်း

မႄးထတ်း

This template will not recognize formatted numbers, which is by design since formatted numbers will break expression parsers. To remove the formatting from a number, you can wrap the number first in {{formatnum: number |R}}.

coderesult
{{Ifnumber|1,000.50|a number|not a number}}not a number
{{Ifnumber|{{formatnum:1,000.50|R}}|a number|not a number}}a number

တူၺ်းပႃး

မႄးထတ်း