class PostgreSQLDoubleBinaryProtocolValue implements PostgreSQLBinaryProtocolValue {

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

}