| Home | Trees | Index | Help |
|---|
|
|
object --+
|
float
float(x) -> floating point number
Convert a string or number to a floating point number, if possible.
|
|||
|
__abs__(x)
abs(x) |
|||
|
__add__(x,
y)
x+y |
|||
|
__coerce__(x,
y)
coerce(x, y) |
|||
|
__div__(x,
y)
x/y |
|||
|
__divmod__(x,
y)
divmod(x, y) |
|||
|
__eq__(x,
y)
x==y |
|||
|
__float__(x)
float(x) |
|||
|
__floordiv__(x,
y)
x//y |
|||
|
__ge__(x,
y)
x>=y |
|||
|
__getattribute__(...)
x.__getattribute__('name') <==> x.name |
|||
| __getnewargs__(...) | |||
|
__gt__(x,
y)
x>y |
|||
|
__hash__(x)
hash(x) |
|||
|
__int__(x)
int(x) |
|||
|
__le__(x,
y)
x<=y |
|||
|
__long__(x)
long(x) |
|||
|
__lt__(x,
y)
x<y |
|||
|
__mod__(x,
y)
x%y |
|||
|
__mul__(x,
y)
x*y |
|||
|
__ne__(x,
y)
x!=y |
|||
|
__neg__(x)
-x |
|||
| __new__(T, S, ...) | |||
|
__nonzero__(x)
x != 0 |
|||
|
__pos__(x)
+x |
|||
|
__pow__(x,
y,
z=...)
pow(x, y[, z]) |
|||
|
__radd__(x,
y)
y+x |
|||
|
__rdiv__(x,
y)
y/x |
|||
|
__rdivmod__(x,
y)
divmod(y, x) |
|||
|
__repr__(x)
repr(x) |
|||
|
__rfloordiv__(x,
y)
y//x |
|||
|
__rmod__(x,
y)
y%x |
|||
|
__rmul__(x,
y)
y*x |
|||
|
__rpow__(y,
x,
z=...)
pow(x, y[, z]) |
|||
|
__rsub__(x,
y)
y-x |
|||
|
__rtruediv__(x,
y)
y/x |
|||
|
__str__(x)
str(x) |
|||
|
__sub__(x,
y)
x-y |
|||
|
__truediv__(x,
y)
x/y |
|||
|
Inherited from |
|||
|
|||
|
Inherited from |
|||
|
|||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| Home | Trees | Index | Help |
|---|
| Generated by Epydoc 3.0alpha2 on Fri Sep 28 00:57:30 2007 | http://epydoc.sf.net |