Files
hugoDocs/content/functions/int.md
T
2017-05-26 14:25:22 -05:00

513 B

title, linktitle, description, godocref, date, publishdate, lastmod, categories, menu, tags, ns, signature, workson, hugoversion, relatedfuncs, deprecated, aliases
title linktitle description godocref date publishdate lastmod categories menu tags ns signature workson hugoversion relatedfuncs deprecated aliases
int int Creates an `int` from the argument passed into the function. 2017-02-01 2017-02-01 2017-02-01
functions
docs
parent
functions
strings
integers
int INPUT
false

Creates an integer (int) from the argument passed into the function. Useful for turning strings into numbers.

{{ int "123" }} → 123