PG::TextEncoder::

Numeric class

This is the encoder class for the PostgreSQL numeric types.

It converts Integer, Float and BigDecimal objects. All other objects are expected to respond to to_s.