class MySQLFloatBinaryProtocolValue implements MySQLBinaryProtocolValue {

    @Override
    public void write(final MySQLPacketPayload payload, final Object value) {
        payload.getByteBuf().writeFloatLE(Float.parseFloat(value.toString()));
    }

}