I have SHP layer loaded in QGIS. It consists of lines with attribute column
z, containing integer value associated with line elevation in meters.
Lines are drawn at 10 meter increment, and I want to apply style to lines on 50 meter increment.
For that purpose in "Style" tab in "Layer Properties" dialog, I use "rule based" style and want to define above described rule. From available operators I can see only one possibility with this filter expression:
z/50 - toint(z/50) = 0
However it returns true for all lines, while I expected just those with 50 meter increment.
There is also "Expression builder" dialog, but it does not return results from typed expression, for some reason, and I'm not able to determine what is the problem?