This commit is contained in:
sw 2014-06-12 14:44:13 +08:00
commit 025b8971e6
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) %>