class MySQLDoubleBinaryProtocolValue implements MySQLBinaryProtocolValue {

    @Override
    public void write(final MySQLPacketPayload payload, final Object value) {
        payload.getByteBuf().writeDoubleLE(Double.parseDouble(value.toString()));
    }

}