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