Author mark.dickinson
Recipients georg.brandl, mark.dickinson
Date 2008-06-24.15:03:34
SpamBayes Score 0.0255507
Marked as misclassified No
Message-id <1214319817.88.0.0731467937099.issue3191@psf.upfronthosting.co.za>
In-reply-to
Content
In Python 3.0, help(round) gives the following:

round(...)
    round(number[, ndigits]) -> floating point number
    
    Round a number to a given precision in decimal digits (default 0 
digits).
    This returns an int when called with one argument, otherwise a 
float.
    Precision may be negative.

But in Python 3.x, round(x, n) doesn't always return a float;  for 
example, if x is a Decimal or Fraction then round(x, 2) is again a 
Decimal or Fraction (respectively).
History
Date User Action Args
2008-06-24 15:03:38mark.dickinsonsetspambayes_score: 0.0255507 -> 0.0255507
recipients: + mark.dickinson, georg.brandl
2008-06-24 15:03:38mark.dickinsonsetspambayes_score: 0.0255507 -> 0.0255507
messageid: <1214319817.88.0.0731467937099.issue3191@psf.upfronthosting.co.za>
2008-06-24 15:03:36mark.dickinsonlinkissue3191 messages
2008-06-24 15:03:35mark.dickinsoncreate