Floor method (number)

Rounds a this number to the closest integer toward negative infinity.

Syntax

number.Floor

Returns the next whole number toward negative infinity that is less than number.

Example

{% Var number1 = 1.234 %}
{% Var number2 = 4.567 %}
{% Var number3 = 8 %}
{% Var number4 = -0.1 %}
{% Var number5 = -5.9 %}

Answers: {{ number1.Floor }},
         {{ number2.Floor }},
         {{ number3.Floor }},
         {{ number4.Floor }},
         {{ number5.Floor }}

The above example would output: Answers: 1, 4, 8, -1, -6