T
|
tekhead2004 6/23/2010 |
advance to the editor screen. View the list page that has these fields. find the Attendance_Rate field, and double click it. on the view as tab, do custom. $value = ($data["Register"]/$data["Attended"])*100; //this takes the register column and divides it by the attened column, then multiplies to get a percent out of 100
$total = ($data["Register"]/$data["Attended"])*100;
$total = ($data["Register"]/$data["Attended"])*100; |
![]() |
Sergey Kornilov admin 6/24/2010 |
Theoretically speaking you only need two fields here. Third field can be calculated on the fly. |