I am using QGIS 2.14 and I want to set my contour line lables so that my minor labels (every half a metre) are only shown at a scale under 1:1000, while having all my major (every metre) labels always showing. I assume you can do this in the expression builder - but I am not sure where to find the 'Maximum' function name.
So far I have:
Case
When "Elevation" Like '%.5' THEN ????
When "Elevation Like '%.0' THEN ???
END