class PostgreSQLFloatBinaryProtocolValue implements PostgreSQLBinaryProtocolValue {

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

}