---
title: float
description: Creates a `float` from the argument passed into the function.
categories: [functions]
menu:
  docs:
    parent: functions
keywords: [strings,floats]
signature: ["float INPUT"]
relatedfuncs: []
---

Useful for turning strings into floating point numbers.

```go-html-template
{{ float "1.23" }} → 1.23
```
