fpformat | index /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/fpformat.py Module Docs |
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'] |