Did I find the right examples for you? yes no

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

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

src/t/w/TwistedBot-HEAD/twistedbot/botentity.py   TwistedBot(Download)
                b_obj.velocities.y = 0.2
            b_obj.velocities.y -= config.BLOCK_FALL
            b_obj.velocities.y *= config.DRAG
            b_obj.velocities.x *= slowdown
            b_obj.velocities.z *= slowdown