float.md (456B)
1 --- 2 title: float 3 linktitle: float 4 description: Creates a `float` from the argument passed into the function. 5 date: 2017-09-28 6 publishdate: 2017-09-28 7 lastmod: 2017-09-28 8 categories: [functions] 9 menu: 10 docs: 11 parent: "functions" 12 keywords: [strings,floats] 13 signature: ["float INPUT"] 14 workson: [] 15 hugoversion: 16 relatedfuncs: [] 17 deprecated: false 18 aliases: [] 19 --- 20 21 Useful for turning strings into floating point numbers. 22 23 ``` 24 {{ float "1.23" }} → 1.23 25 ```