fpformat
fpformat — Floating point conversions
Deprecated since version 2.6: The fpformat
module has been removed in Python 3.
The fpformat
module defines functions for dealing with floating point numbers representations in 100% pure Python.
Note
This module is unnecessary: everything here can be done using the %
string interpolation operator described in the String Formatting Operations登录查看完整内容