Gets the completion rate (value between 0 and 1) based on the specified completed effort, and effort values.
Namespace:
DlhSoft.Web.MvcAssembly: DlhSoft.ProjectData.GanttChart.Mvc.Extensions (in DlhSoft.ProjectData.GanttChart.Mvc.Extensions.dll)
Syntax
| C# |
|---|
public double GetCompletion( TimeSpan completedEffort, TimeSpan effort ) |
| Visual Basic (Declaration) |
|---|
Public Function GetCompletion ( _ completedEffort As TimeSpan, _ effort As TimeSpan _ ) As Double |
Parameters
- completedEffort
- Type: System..::.TimeSpan
- effort
- Type: System..::.TimeSpan