613-518-1166 info@zimdatabases.com

ZIM Language Reference


< All Topics


Truncates a decimal number, making it an integer.





a number, or an expression that evaluates to a number

Return Value

Number, with no decimal places.



Evaluates to 2.


Evaluates to 2.

int1 – $truncate(int1/int2) * int2

Performs int1 modulo int2. Can also be expressed as $modulus(int1,int2).

Related Information


See Also




About Functional Expressions

Decimals and Rounding

Decimals in Functional Expressions

Number Literals

Was this article helpful?
0 out Of 5 Stars
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
How can we improve this article?
Table of Contents