troncature

This commit is contained in:
unknown 2019-03-13 14:41:06 +01:00
parent 24916f5ebc
commit 47f8b528f5

View File

@ -22,13 +22,13 @@ def calc(self):
rn=calcul_Rn(r,impedance)
textdecompletion=''
for i in range (ordre//2):
textdecompletion= textdecompletion + "L" + str(i) + "= " + str(lk[i]) + " \n"
textdecompletion= textdecompletion + "L" +str(i) + "= " + str("%.3e"%lk[i]) + " \n"
self.resultatlk_textedit.setText(textdecompletion)
textdecompletion=''
for i in range (ordre//2):
textdecompletion= textdecompletion + "C" + str(i) + "= " + str(ck[i]) + " \n"
textdecompletion= textdecompletion + "C" + str(i) + "= " + str("%.3e"%ck[i]) + " \n"
self.resultatck_textedit.setText(textdecompletion)
self.resultatrn_lineedit.setText(str(rn))
self.resultatrn_lineedit.setText(str("%.3e"%rn))
#self.resultat_lineedit.setText('lk ='+str(lk)+'\nck='+str(ck)+'\nrn ='+str(rn))