Explorar el Código

food unsub - 4

abiao hace 2 años
padre
commit
a9bd7315e0
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      app/models/food_unsub.rb

+ 1 - 1
app/models/food_unsub.rb

@@ -65,7 +65,7 @@ class FoodUnsub < ActiveRecord::Base
         visible true
         visible true
         label "金额(元)"
         label "金额(元)"
         formatted_value do
         formatted_value do
-          value!=0 ? (value/100.0):0
+          value!=0 ? (value/100):0
         end
         end
       end
       end
       field :status
       field :status