TRUNC_REAL Function

TRUNC_REAL (a)

Rounds a to an integer towards zero.

Parameters

a(REAL)

The input value.

Return Value

Returns a REAL.

Examples

TRUNC_REAL(34.78) returns 34.0

TRUNC_REAL(-3.46) returns -3.0

TRUNC_REAL(-3.99) returns -3.0

 

See Also

TRUNC Function | Standard Functions


Send comments on this topic.

Copyright © 2024 Delta Computer Systems, Inc. dba Delta Motion