Integral method (number)
Returns the integral digits of this number; any fractional digits are discarded.
Syntax
number.Integral
Returns the result of number rounded toward zero, to the nearest whole number.
Example
{% Var number1 = 1.234 %}
{% Var number2 = 4.567 %}
{% Var number3 = 8 %}
{% Var number4 = -0.1 %}
{% Var number5 = -5.9 %}
Answers: {{ number1.Integral }},
{{ number2.Integral }},
{{ number3.Integral }},
{{ number4.Integral }},
{{ number5.Integral }}
The above example would output: Answers: 1, 4, 8, 0, -5