#32955: widthratio does not round properly
---------------------------------+--------------------------------------
     Reporter:  alfonsrv         |                    Owner:  nobody
         Type:  Bug              |                   Status:  closed
    Component:  Template system  |                  Version:  3.1
     Severity:  Normal           |               Resolution:  invalid
     Keywords:                   |             Triage Stage:  Unreviewed
    Has patch:  0                |      Needs documentation:  0
  Needs tests:  0                |  Patch needs improvement:  0
Easy pickings:  0                |                    UI/UX:  0
---------------------------------+--------------------------------------
Changes (by Mariusz Felisiak):

 * status:  new => closed
 * type:  Uncategorized => Bug
 * resolution:   => invalid
 * easy:  1 => 0


Comment:

 `widthratio` uses built-in `round()` on floats so it's not really a bug,
 see [https://docs.python.org/3/library/functions.html#round a note in
 round()'s docs].

-- 
Ticket URL: <https://code.djangoproject.com/ticket/32955#comment:2>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/066.423e26c5e4935f71c22e7c51e8856df5%40djangoproject.com.

Reply via email to