Template:Ifnumber/doc
Appearance
Usage
[alilan ya ing pikuwanan]Returns 1 if the value is numeric and 0 otherwise.
Examples
[alilan ya ing pikuwanan]code | result |
---|---|
{{Ifnumber|1}} |
1 |
{{Ifnumber|one}} |
0 |
{{Ifnumber|}} |
0 |
{{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|{{{val|6.B2C}}}|number|value "{{{val|6.B2C}}}" not numeric}} | value "6.B2C" not numeric |