Prozentuale vollständige Berechnungen in PHP

Aspose.Tasks - Prozentsatz vollständige Berechnungen

Um vollständige prozentuale Berechnungen mit Aspose.Tasks Java für PHP zu erhalten, rufen Sie einfach TaskSpercentage -Modul auf. Hier sehen Sie Beispielcode.

PHP -Code

 1$ project = new Project ('test_tasks.mpp');
 2
 3$ collector = new ChildTaskScollector ();
 4
 5$ taskutils = new Taskutils ();
 6
 7$ taskutils-> bewerben ($ project-> getroottask (), $ collector, 0);
 8
 9$ tsk = new tsk ();
10
11$ tasks = $ collector-> getTasks ();
12
13$ i = 0;
14
15während ($ i <sizeof ($ tasks)) {
16
17    $task = $tasks -> get($i);
18
19    print (string)$task -> get($tsk -> PERCENT_COMPLETE);
20
21    print (string)$task -> get($tsk -> PERCENT_WORK_COMPLETE);
22
23    print (string)$task -> get($tsk -> PHYSICAL_PERCENT_COMPLETE);
24
25    $i += 1;
26
27}

Download Running Code

Download prozentuale vollständige Berechnungen (Aspose.Tasks) von einer der folgenden erwähnten Social -Coding -Websites:

Subscribe to Aspose Product Updates

Get monthly newsletters & offers directly delivered to your mailbox.