#27652: Humanize docs should clarify: Floats OK too!
-----------------------------------------+------------------------
               Reporter:  Mike Lissner   |          Owner:  nobody
                   Type:  Uncategorized  |         Status:  new
              Component:  Documentation  |        Version:  master
               Severity:  Normal         |       Keywords:
           Triage Stage:  Unreviewed     |      Has patch:  0
    Needs documentation:  0              |    Needs tests:  0
Patch needs improvement:  0              |  Easy pickings:  1
                  UI/UX:  0              |
-----------------------------------------+------------------------
 In the humanize documentation
 (https://docs.djangoproject.com/en/1.9/ref/contrib/humanize/), it says
 things like:

 intcomma: Converts an ''integer'' to a string containing commas every
 three digits.

 intword: Converts a large ''integer'' to a friendly text representation.

 Etc.

 I took a look at the code, and it looks like it's written in such a way
 that floats would work too without a hitch. Should we update the docs to
 say as such?

 Also: If we do this, do we need tests that include floats?

--
Ticket URL: <https://code.djangoproject.com/ticket/27652>
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 django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/051.406fa914cc629ea330438bf98c95364a%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to