Skip to main content

Trunc

It returns the nearest integral value that is not larger in magnitude than a given number.

Syntax

trunc(Real)

Description

Given a real number x, returns the nearest integral value that is not larger in magnitude than xx.

arithmetic.trunc.calc.png