Loading...
Select Version
&pagelevel(4)&pagelevel
Definition | #include <math.h> double trunc(double x); (C11) These functions round their argument to the integer value, in floating format, nearest to but no larger in magnitude than the argum. | |
Return val. | Integer part of x with the sign of x. | |
See also | frexp, ldexp, modf |