Show More
@@ -2161,7 +2161,7 b' def unitcountfn(*unittable):' | |||||
2161 |
|
2161 | |||
2162 | def go(count): |
|
2162 | def go(count): | |
2163 | for multiplier, divisor, format in unittable: |
|
2163 | for multiplier, divisor, format in unittable: | |
2164 | if count >= divisor * multiplier: |
|
2164 | if abs(count) >= divisor * multiplier: | |
2165 | return format % (count / float(divisor)) |
|
2165 | return format % (count / float(divisor)) | |
2166 | return unittable[-1][2] % count |
|
2166 | return unittable[-1][2] % count | |
2167 |
|
2167 |
General Comments 0
You need to be logged in to leave comments.
Login now