get_project_percentage_completed

Get the percentage completion (PC) for the project in a given tracking period.

The percentage project completion is equal to the earned value (EV) divided by the budget at completion (BAC). The EV of the project at a given tracking period can be obtained by calling the P2Tracking:get_project_ev function. The BAC can be found using the P2Schedule:get_project_bac function.

Parameters: 
I/O Type Name Description
input integer ID ID of the tracking period
output float PC project percentage completion, between 0 and 1
Example: 
function ()
        io.write('\n')
end
Class: 
P2Tracking