Changeset 741 for trunk/grails-app
- Timestamp:
- Dec 13, 2010, 4:59:29 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/services/AssetReportService.groovy
r740 r741 374 374 if(task.subTaskTotalCount) { 375 375 percentComplete = (task.subTaskCompletedCount / task.subTaskTotalCount) * 100 376 task.completionFigures = "$ percentComplete% ($task.subTaskCompletedCount/$task.subTaskTotalCount)"376 task.completionFigures = "${percentComplete.toInteger()}% ($task.subTaskCompletedCount/$task.subTaskTotalCount)" 377 377 } 378 378 else
Note: See TracChangeset
for help on using the changeset viewer.