• Facebook
  • Twitter
  • Reddit
  • StumbleUpon
  • Digg
  • email

All Samples(107)  |  Call(3)  |  Derive(4)  |  Import(100)
float(x) -> floating point number

Convert a string or number to a floating point number, if possible.

src/z/o/zope.app.twisted-3.5.0/src/twisted/spread/jelly.py   zope.app.twisted(Download)
from types import TupleType
from types import ListType
from types import LongType
from types import FloatType
from types import FunctionType
from types import MethodType
from types import ModuleType

src/z/e/zenoss-HEAD/trunk/Products/PluggableAuthService/UserPropertySheet.py   zenoss(Download)
$Id: UserPropertySheet.py 70450 2006-09-30 19:01:58Z rafrombrc $
"""
from types import IntType
from types import FloatType
from types import LongType
from types import TupleType
from types import ListType

src/b/a/bases-HEAD/trunk/bases/thirdparty/jecode.py   bases(Download)
    return r
 
 
from types import NoneType, IntType, LongType, FloatType, DictType, ListType
from types import TupleType, StringType, UnicodeType, BooleanType
 
# Encode integers

src/z/e/zenoss-HEAD/Products/PluggableAuthService/UserPropertySheet.py   zenoss(Download)
$Id: UserPropertySheet.py 70450 2006-09-30 19:01:58Z rafrombrc $
"""
from types import IntType
from types import FloatType
from types import LongType
from types import TupleType
from types import ListType

src/b/a/bases-HEAD/bases/thirdparty/jecode.py   bases(Download)
    return r
 
 
from types import NoneType, IntType, LongType, FloatType, DictType, ListType
from types import TupleType, StringType, UnicodeType, BooleanType
 
# Encode integers

src/g/h/gherkin-3/gherkin.py   gherkin(Download)
 
"""
 
from types import IntType, TupleType, StringType, FloatType, LongType, ListType, DictType, NoneType, BooleanType, UnicodeType, ComplexType
SetType = type(set())
from struct import pack, unpack
from cStringIO import StringIO

src/b/a/bases-HEAD/trunk/bases/thirdparty/rencode.py   bases(Download)
        raise ValueError
    return r
 
from types import StringType, IntType, LongType, DictType, ListType, TupleType, FloatType, NoneType
 
def encode_int(x, r):
    if 0 <= x < INT_POS_FIXED_COUNT:

src/t/y/typedbytes-HEAD/typedbytes.py   typedbytes(Download)
            def pack(self, *args):
                return pack(self.fmt, *args)
 
    from types import BooleanType, IntType, LongType, FloatType 
    from types import UnicodeType, StringType, TupleType, ListType, DictType
    from datetime import datetime, date
    from decimal import Decimal

src/o/p/openmmod-HEAD/trunk/src/tools/gencode/yaml/dump.py   openmmod(Download)
import types
import string
from types import StringType, UnicodeType, IntType, FloatType
from types import DictType, ListType, TupleType, InstanceType
from yaml.klass import hasMethod, isDictionary
import re
 

src/b/a/bases-HEAD/bases/thirdparty/rencode.py   bases(Download)
        raise ValueError
    return r
 
from types import StringType, IntType, LongType, DictType, ListType, TupleType, FloatType, NoneType
 
def encode_int(x, r):
    if 0 <= x < INT_POS_FIXED_COUNT:

  1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9  Next