I use following script to determine text size of different labels:
CASE WHEN "KKOD" IN (1) THEN 8 WHEN "KKOD" IN (2) THEN 9 -- etc...(here come more lines of similar code) ELSE 0 END
Everything works fine. But now I want to scale all attributes to for example 150%. Is there any simple way to do it? Is it possible to put attributes in some variable and then multiply it by 1.5 (150%)? Something like this:
"KKOD" * 1.5
I don't want to change all numbers manually because it will be difficult to change them to something else in the future.