Did I find the right examples for you? yes no

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/t/w/TwistedBot-HEAD/twistedbot/entities.py   TwistedBot(Download)
    def position_eyelevel(self):
        return utils.Vector(self.x / 32.0, self.y / 32.0 + config.PLAYER_EYELEVEL, self.z / 32.0)
 
    @property
    def aabb(self):

src/t/w/TwistedBot-HEAD/twistedbot/botentity.py   TwistedBot(Download)
        self._y = 0
        self._z = 0
        self.stance_diff = config.PLAYER_EYELEVEL
        self.pitch = None
        self.yaw = None
    def y_eyelevel(self):
        return self.y + config.PLAYER_EYELEVEL
 
    @property
    def stance(self):