Is it possible to convert a value string into a float in a mapfile? The code is in CLASS / TEXT, so I can use expression.
For example my value is always displaying ".7". I would like to display "0.7". But I can't do
"0" + [value], because sometimes, I have "1" and I don't want to show "01".
For now, it seems that a function float() doesn't exist.
I have MapServer 7.
I also try ternary operation like:
TEXT (length([value]) = 1 ? [value] : "0"+[value])
But ternary doesn't exist...