lib/amee/profile_item_value.rb in amee-2.0.32 vs lib/amee/profile_item_value.rb in amee-2.0.33
- old
+ new
@@ -16,10 +16,10 @@
attr_accessor :unit
attr_accessor :per_unit
def value
case type
- when "DECIMAL"
+ when "DECIMAL", "DOUBLE"
@value.to_f
else
@value
end
end
\ No newline at end of file