| fpformat | index /usr/lib/python2.1/fpformat.py |
General floating point formatting functions.
Functions:
fix(x, digits_behind)
sci(x, digits_behind)
Each takes a number or a string and a number of digits as arguments.
Parameters:
x: number to be formatted; or a string resembling a number
digits_behind: number of digits behind the decimal point
| Modules | ||||||
| ||||||
| Classes | ||||||||||
| ||||||||||
| Functions | ||
| ||
| Data | ||
| __all__ = ['fix', 'sci', 'NotANumber'] __file__ = '/usr/lib/python2.1/fpformat.pyc' __name__ = 'fpformat' decoder = <SRE_Pattern object> | ||