Multiple by 100 and add a '%' character:
|
Source code
|
1
|
calc(crose-map-ratio-h, (layer[map].pixelheight / stageheight * 100) + '%');
|
Btw - try to avoid '-' characters in variables names!
When used in an expression, that '-' character will be parsed as minus operation.
Best regards,
Klaus