troncature
This commit is contained in:
parent
24916f5ebc
commit
47f8b528f5
@ -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))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user