Thanks @rlkoshak - that order is what I actually meant to write late here
if (LocalWeatherAndForecast_Current_Cloudiness.state < 90 | "%" ) {
…
Not too sure about the single or double % either, as I only have other units active here for quantity type conversions, but think with the quotes the sigle % should be fine.