class DBF::ColumnType::Currency
Public Instance Methods
type_cast(value)
click to toggle source
@param value [String]
# File lib/dbf/column_type.rb, line 32 def type_cast(value) (value.unpack1('q<') / 10_000.0).to_f end