Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!apple!bloom-beacon!tut.cis.ohio-state.edu!mailrus!cornell!uw-beaver!blake!oregon!michelbi From: michelbi@oregon.uoregon.edu (Michel Biedermann) Newsgroups: comp.lang.c Subject: Help needed to round-off a number Message-ID: <2666@oregon.uoregon.edu> Date: 20 May 89 01:17:37 GMT Organization: University of Oregon Lines: 8 Is there a C function (user defined or primitive (?)) that will let me truncate or round-off a number UP TO a certain decimal place. For example transforming .567 into .6 or -1.502 into -1.5. Thanks a lot for the help... Michel Biedermann U. of Oregon