1 /* Copyright (c) 1979 Regents of the University of California */ 2 3 static char sccsid[] = "@(#)ROUND.c 1.2 03/07/81"; 4 5 ROUND(value) 6 7 double value; 8 { 9 if (value >= 0.0) 10 return (long)(value + 0.5); 11 return (long)(value - 0.5); 12 } 13