def _a_encode_float(value, mapping):
    """
    4.2 --> ('3', 'f', '4.2')
    """
    assert isinstance(value, float), 'VALUE has invalid type: %s' % type(value)
    value = str(value).encode('UTF-8')
    return str(len(value)).encode('UTF-8'), b'f', value
