Method: Sequel::Amalgalite::SequelTypeMap#decimal
- Defined in:
- lib/sequel/adapters/amalgalite.rb
#decimal(s) ⇒ Object
Return numeric/decimal types as instances of BigDecimal instead of Float
32 33 34 |
# File 'lib/sequel/adapters/amalgalite.rb', line 32 def decimal(s) BigDecimal(s) end |