Math Scalar Library
Programming Reference Manual Fortran
Version 1.1 DD-00003-111

4.3 strunc - Truncate to nearest integral part

function strunc (x) 
function struncf(x)

Given a value x this function rounds x to the nearest integral part less or equal than |x| .