TRUNC

Syntax:

TRUNC ( x [ , number-digits ] )

Description: Truncates x to the number of fractional digits by number-digits.

Arguments:

Name

Type

Description

x

array, reference

The value to be rounded down.

number-digits

number

The number of fractional digits to which x is to be truncated. The default value for number-digits is 0.

Return Type and Value: number – The truncated value of x.

example: