Skip to main content
Version: v1

Float functions

int()

Description

Function int is used to convert a float to an integer by removing the decimal part of the number. It doesn't round the number, it just removes the decimal part.

Arguments

None

Input example

<b>{{ 5.5.int() }}<b>

Output

<b>5<b>