<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%> <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%> <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic"%> <%@ taglib uri="/WEB-INF/fenix-renderers.tld" prefix="fr"%> <%@page import="java.math.BigDecimal"%> <%@page import="net.sourceforge.fenixedu.domain.ExecutionYear"%> <%@page import="net.sourceforge.fenixedu.domain.student.Registration"%> <%@page import="net.sourceforge.fenixedu.domain.student.curriculum.AverageType"%> <%@page import="net.sourceforge.fenixedu.domain.student.curriculum.ICurriculum"%> <%@page import="net.sourceforge.fenixedu.dataTransferObject.student.RegistrationCurriculumBean"%>

<% final Registration registration = ((RegistrationCurriculumBean) registrationCurriculumBean).getRegistration(); request.setAttribute("registration", registration); // average ICurriculum curriculum = registrationCurriculumBean.getCurriculum(); request.setAttribute("curriculum", curriculum); final BigDecimal sumPiCi = curriculum.getSumPiCi(); request.setAttribute("sumPiCi", sumPiCi); final BigDecimal sumPi = curriculum.getSumPi(); request.setAttribute("sumPi", sumPi); final BigDecimal average = curriculum.getAverage(); request.setAttribute("weightedAverage", average); // curricular year final ExecutionYear currentExecutionYear = ExecutionYear.readCurrentExecutionYear(); request.setAttribute("currentExecutionYear", currentExecutionYear); curriculum = registrationCurriculumBean.getCurriculum(currentExecutionYear); final BigDecimal sumEctsCredits = curriculum.getSumEctsCredits(); request.setAttribute("sumEctsCredits", sumEctsCredits); final Integer curricularYear = curriculum.getCurricularYear(); request.setAttribute("curricularYear", curricularYear); %> <%-- Person and Student short info --%>

:

=

:

:

: = / =

.

:

:

: = ( ( ( + 24) / 60 + 1) ; ) = ;

<% curriculum.setAverageType(AverageType.SIMPLE); request.setAttribute("simpleAverage", curriculum.getAverage()); %>
Ponderada Simples
- - - -

( x )
- -
- - - - -
Somatórios