abiao 2 lat temu
rodzic
commit
a9bd7315e0
1 zmienionych plików z 1 dodań i 1 usunięć
  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
         label "金额(元)"
         formatted_value do
-          value!=0 ? (value/100.0):0
+          value!=0 ? (value/100):0
         end
       end
       field :status