Skip to main content
CloudStudio

Trunc

The Trunc function truncates a number, removing the fractional part.

Definition

Trunc(valor)

Parameters

NameDescriptionData type
valorValue to truncatenumeric

Example

In this example, the truncated value of 24.899 is obtained:

Trunc(24.899)

The result is 24 (numeric value).

Last updated on

On this page