2017-03-27 16:32:31 -05:00

25 lines
475 B
Markdown

---
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]
tags: [strings,integers]
ns:
signature: ["int INPUT"]
workson: []
hugoversion:
relatedfuncs: []
deprecated: false
aliases: []
---
Creates an integer (`int`) from the argument passed into the function. Useful for turning strings into numbers.
```
{{ int "123" }} → 123
```