Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!mcsun!ukc!harrier.ukc.ac.uk!jmb From: jmb@ukc.ac.uk (Mike Bremner) Newsgroups: comp.lang.fortran Subject: Re: rounding a real to a whole number Message-ID: <6125@harrier.ukc.ac.uk> Date: 9 Nov 90 23:17:52 GMT References: Reply-To: jmb@ukc.ac.uk (Mike Bremner) Organization: Institute of Mathematics and Statistics, University of Kent Lines: 9 In article u714092@eagle.larc.nasa.gov (prichard devon ) writes: >what I want to do is to have a subroutine which, given a range of real >numbers, for example -123.445 -> 1033.02 , and choose whole numbers >outside that range. obviously the first application is axis values for >x-y plots. Applied Statistics algorithm AS 168 - Vol. 30 (1981), p.339 - deals with scale selection for scatter plots, etc.