struct
CQL::Postgres::Types::DecimalText
- CQL::Postgres::Types::DecimalText
- Struct
- Value
- Object
Overview
A numeric value kept as the exact decimal text PostgreSQL sent, so no
precision is lost. Use BigDecimal.new(numeric.to_s) when big is loaded.
Defined in:
postgres/types/decimal_text.crConstructors
Instance Method Summary
- #nan? : Bool
- #text : String
- #to_f : Float64
-
#to_s(io : IO) : Nil
Same as
#inspect(io).