Part of lp.app.browser.tales View In Hierarchy
Method | __init__ | Undocumented |
Method | traverse | Undocumented |
Method | intcomma | Return this number with its thousands separated by comma. |
Method | bytes | Render number as byte contractions according to IEC60027-2. |
Method | float | Use like tal:content="context/foo/fmt:float/.2". |
This can only be used for integers.
Will return a string formatted to the specification provided in the manner Python "%f" formatter works. See http://docs.python.org/lib/typesseq-strings.html for details and doc.displaying-numbers for various examples.