Really? I stand corrected. But it means I dislike QML even more than before. Being Old Skool, I would convert temperatureHighLabel.text to a number and work with that. It would be faster anyway if you do the conversion only once and not at the background for each comparison. It would also give you a lovely opportunity to change the colour continuously rather than in discreet steps like in your example