Unexpected behaviour of math.floor, round and int functions (rounding)

Peter J. Holzer hjp-python at hjp.at
Sun Nov 21 14:04:04 EST 2021


On 2021-11-22 05:43:48 +1100, Chris Angelico wrote:
> On Mon, Nov 22, 2021 at 5:42 AM Peter J. Holzer <hjp-python at hjp.at> wrote:
> > (I think I used Math::BigRat in Perl, but I've been
> > programming in Perl for a lot longer.)
> 
> Rodents Of Unusual Size? I don't think they exist...

https://www.girlgeniusonline.com/comic.php?date=20210614 ;-)

        hp

-- 
   _  | Peter J. Holzer    | Story must make more sense than reality.
|_|_) |                    |
| |   | hjp at hjp.at         |    -- Charles Stross, "Creative writing
__/   | http://www.hjp.at/ |       challenge!"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://mail.python.org/pipermail/python-list/attachments/20211121/427fc7f0/attachment.sig>


More information about the Python-list mailing list