shithub: hugo

ref: dae5a7c61cceeb0de59f2d755f63e453f71dd9b2
dir: /content/functions/int.md/

View raw version
---
title: int
linktitle: int
description: Creates an `int` from the argument passed into the function.
godocref:
date: 2017-02-01
publishdate: 2017-02-01
lastmod: 2017-02-01
categories: [functions]
menu:
  docs:
    parent: "functions"
keywords: [strings,integers]
signature: ["int INPUT"]
workson: []
hugoversion:
relatedfuncs: []
deprecated: false
aliases: []
---

Useful for turning strings into numbers.

```
{{ int "123" }} → 123
```