Fixed rounding issue on spent hours column in CSV export (#10150).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8764 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2012-02-04 11:03:44 +00:00
parent 2789cf2506
commit 333a6cc370
2 changed files with 14 additions and 3 deletions
+1 -1
View File
@@ -329,7 +329,7 @@ module IssuesHelper
elsif value.is_a?(Time)
format_time(value)
elsif value.is_a?(Float)
value.to_s.gsub('.', decimal_separator)
("%.2f" % value).gsub('.', decimal_separator)
else
value
end