PG::SimpleDecoder
This is a decoder class for conversion of PostgreSQL binary float4 and float8 types to Ruby Float objects.