Template documentation follows
Note: the template above may sometimes be partially or fully invisible.
Visit Template:IfNumber/doc to edit this documentation. (How does this work?)

Contents

Usage

Example Result
{{IfNumber|1235|is number|is not number}} is number
{{IfNumber|abc|is number|is not number}} is not number

Notes

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}}.
Community content is available under CC-BY-SA unless otherwise noted.