    

 ## On this page

  

 

 # Trunc

 Last update: 09.03.2026 

Returns the largest integer less than or equal to the operand.

The implementation uses the C runtime library functions floor and floorf.

## Interface

NameKindTypeCommentxIFloatOperandvOFloatResult of the operation**Parent topic:**[Math::Common](./math_common.md)