# is\_number

Source: https://zotonic.com/docs/1545/is_number

URI: https://zotonic.com/id/1545

Language: en



Test if a value is a number (integer or floating point):

```django
{% if 1|is_number %}Yes, this is a number{% endif %}
```

License: 

Attribution: 

Related resources: https://zotonic.com/api/agent/related/1545?language=en


## API access

- [API help](<https://zotonic.com/api-help>)
- [OpenAPI specification](<https://zotonic.com/openapi.json>)
- [This resource as JSON](<https://zotonic.com/api/agent/resource/1545?language=en>)
