This commit is contained in:
z9hang 2014-06-12 15:13:05 +08:00
commit 5a47c52d23
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@
<td>
<strong>作业评分:</strong>
<%= format("%.2f", homework.rate_averages.first.try(:avg).to_i ) %>
<%= format("%.2f", homework.rate_averages.first.try(:avg).to_f ) %>
</td>
<td valign="top" align="right">
<% if Time.parse(@bid.deadline.to_s) < Time.parse(homework.created_at.to_s) %>