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 returns the nearest integral value that is not larger in magnitude than xLaTeXx.

arithmetic.trunc.calc.png