home *** CD-ROM | disk | FTP | other *** search
- /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
- * *
- * Copyright (c) 1997 MathSoft, Inc. All Rights Reserved. *
- * *
- * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
- /*
- * Function: fix ( x )
- *
- * Description:
- * fix() rounds x down to the nearest integer if x > 0 and
- * rounds x up to the nearest integer if x < 0. This is the
- * same function as trunc.
- *
- *
- * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
-
- function fix ( x );
-
- fix=trunc(x);
-
- end
-