get_real_project_cost

Get the real cost of the project.

The real cost of the project is only known when all activities are finished, i.e. when the project percentage completion is equal of 100%. The percentage project completion can be found by calling the P2Tracking:get_project_percentage_completed function. This function returns 0 when the project is not started yet or not finished yet, and return the real project cost otherwise.

The real project cost can be compared to the budget at completion to see whether the project finished below, on or over budget. The budget at completion (BAC) of the project can be obtained by calling the P2Schedule:get_project_bac function.

Parameters: 
I/O Type Name Description
output float cost real total project cost
Example: 
function ()
        io.write('\n')
end
Class: 
P2Tracking