"Michael Langford" <[EMAIL PROTECTED]> wrote > PS: The function you're looking for is called round. Its first param > is the > number to round, the seconds is how many digits past the radix point > to > keep.
Caveat: Note that round will perform math style rounding - sometimes rounding up, sometimes rounding down. If you have legal retrictions that force rounding down, say, then round() will not work as required. -- Alan Gauld Author of the Learn to Program web site http://www.freenetpages.co.uk/hp/alan.gauld _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor