hugo/docs/content/en/functions/float.md
2021-10-31 13:53:55 +01:00

456 B

title linktitle description date publishdate lastmod categories menu keywords signature workson hugoversion relatedfuncs deprecated aliases
float float Creates a `float` from the argument passed into the function. 2017-09-28 2017-09-28 2017-09-28
functions
docs
parent
functions
strings
floats
float INPUT
false

Useful for turning strings into floating point numbers.

{{ float "1.23" }} → 1.23