MCPcopy Create free account
hub / github.com/geekcomputers/Python / changeBtn

Function changeBtn

currency converter/main.py:49–54  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

47
48
49def changeBtn():
50 val = window.lineEdit.text()
51 cont1 = window.dropDown1.currentText()
52 cont2 = window.dropDown2.currentText()
53 valCurr = getVal(cont1.rstrip(), cont2.rstrip())
54 window.lcdpanel.display(float(val) * valCurr)
55
56
57main()

Callers

nothing calls this directly

Calls 2

getValFunction · 0.85
displayMethod · 0.45

Tested by

no test coverage detected