Enviado em 21/01/2014 - 12:56h
eu não tenho ideia, porque esse calculo ta dando valor zero no bd
a=Float.parseFloat(ftNota1.getText());
b=Float.parseFloat(ftNota2.getText());
c=Float.parseFloat(ftNota3.getText());
d=Float.parseFloat(ftNota4.getText());
e=Float.parseFloat(ftNota5.getText());
f=Float.parseFloat(ftNota6.getText());
g=Float.parseFloat(ftNota7.getText());
media = (a+b+c+d+e+f+g)/7;
materia.setMedia(media);
a=Float.parseFloat(ftNota1.getText());
b=Float.parseFloat(ftNota2.getText());
c=Float.parseFloat(ftNota3.getText());
d=Float.parseFloat(ftNota4.getText());
e=Float.parseFloat(ftNota5.getText());
f=Float.parseFloat(ftNota6.getText());
g=Float.parseFloat(ftNota7.getText());
media = (a+b+c+d+e+f+g)/7;
materia.setMedia(media);