<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Hello,<div><br></div><div>this code produces the following output</div><div><br></div><div>Python snippet</div><div>@pyqtSlot(float)</div><div>def xy(self, amount):<br></div><div>    print("am", amount)<br></div><div><br></div><div>QML snippet</div><div>print(amountInput.text, amountInput.text === "") </div><div>controller.xy(amountInput.text)<br></div><div><br></div><div>Output</div><div><div>qml:  true</div><div>am 0.0</div></div><div><br></div><div>Is this intentional? If I use any other string than "" I get (I think the correct) nan. I'm using PyQt5==5.11.2</div><div><br></div></div></div></div></div></div></div></div></div>