I want to write a macro to set line height in fraction.
font-size: 18px; line-height: 22px;
The problem is with expression register. I set 2 variables @f = font-size @h = line-height
=@h/@f - will be always integer.
I know to get float, need one of arguments to be float, but the variables are integer.
Also prinf dont work
printf("%f", @h/@f) = will be integer(22/4) = 5, not 5.2
Thanks in advance