Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix rounding of float percent completion

  • Loading branch information...
commit bd3c3225919c4cd021ed3924b19172373bb5c924 1 parent 719e6f8
Andy Schlaikjer authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  contrib/iris/client/js/iris.js
2  contrib/iris/client/js/iris.js
View
@@ -247,7 +247,7 @@ function buildTaskString(total, progress) {
if (total == null || progress == null) {
return ''
}
- return total + ' (' + progress * 100 + '%)'
+ return total + ' (' + d3.round(progress * 100, 0) + '%)'
}
/**
Please sign in to comment.
Something went wrong with that request. Please try again.