Bysen:Gifrim/doc
Appearance
|
|
This is a documentation subpage for Bysen:Gifrim (see that page for the bysen itself). It contains usage information, categories and other content that is not part of the original bysen page. |
Usage
[adihtan fruman]Returns 1 if the value is numeric and 0 otherwise.
Bȳsna
[adihtan fruman]
| code | result |
|---|---|
{{Gifrim|1}} |
1 |
{{Gifrim|an}} |
0 |
{{Gifrim|}} |
0 |
{{Gifrim|e<>pi}} |
1 |
{{Gifrim|1|a number|not a number}} |
a number |
{{Gifrim|one|a number|not a number}} |
not a number |
{{Gifrim|1000|a number|not a number}} |
a number |
{{Gifrim|10.00|a number|not a number}} |
a number |
{{Gifrim|1,000|a number|not a number}} |
not a number |
{{Gifrim|1,000.50|a number|not a number}} |
not a number |
{{Gifrim|99 balloons|a number|not a number}} |
not a number |
{{Gifrim|99.9999e10|a number|not a number}} |
a number |
{{Gifrim|−123|a number|not a number}} |
a number |
{{Gifrim|(456)|a number|not a number}} |
a number |
{{Gifrim|e|a number|not a number}} |
not a number |
{{Ifnumber|{{val|123|5}}|number|value "{{val|123|5}}" not numeric}} |
value "Bysen:Val" not numeric |
Notes
[adihtan fruman]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}}.
| code | result |
|---|---|
{{Gifrim|1,000.50|a number|not a number}} |
not a number |
{{Gifrim|{{formatnum:1,000.50|R}}|a number|not a number}} |
a number |
See also
[adihtan fruman]- {{isnumeric}}