xref: /csrg-svn/usr.bin/pascal/libpc/TRUNC.c (revision 62096)
140865Sbostic /*-
2*62096Sbostic  * Copyright (c) 1979, 1993
3*62096Sbostic  *	The Regents of the University of California.  All rights reserved.
440865Sbostic  *
540865Sbostic  * %sccs.include.redist.c%
640865Sbostic  */
71711Smckusick 
840865Sbostic #ifndef lint
9*62096Sbostic static char sccsid[] = "@(#)TRUNC.c	8.1 (Berkeley) 06/06/93";
1040865Sbostic #endif /* not lint */
111711Smckusick 
123037Smckusic long
TRUNC(value)131711Smckusick TRUNC(value)
141711Smckusick 
151711Smckusick 	double	value;
161711Smckusick {
171711Smckusick 	return (long)(value);
181711Smckusick }
19