Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(0)  |  Call(0)  |  Derive(0)  |  Import(0)
float(x) -> floating point number

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

src/c/c/ccc-gistemp-0.6.1/CCCgistemp/tool/gio.py   ccc-gistemp(Download)
def tenths_to_float(t):
    if t == MISSING:
        return giss_data.MISSING
    return t * 0.1
    def toint(f):
        # :todo: Use of abs() probably not needed.
        if abs(f - giss_data.MISSING) < 0.01:
            return MISSING
        return int(round(f * scale))
        if "-9999" == s:
            return giss_data.MISSING
            return float(s) * 0.1
                if ((flag in 'EQ') or              # interpolated data
                    (temp_fahrenheit == -9999)):   # absent data
                    temp = giss_data.MISSING
                    # Convert to (fractional) degrees F
        return float(s)
        return giss_data.MISSING
def ushcn_input_file():