The OpenD Programming Language

trunc

Returns the integer portion of x, dropping the fractional portion. This is also known as "chop" rounding. pure on all platforms.

version(LDC)
pragma(inline, true) @safe pure nothrow @nogc
real
trunc
(
real x
)

Meta