Clover bug with number

There’s no possibility to write an ‘8’ or ‘9’ after any number of leading zeros in transformation code.
Discovered it while trying to format a parameter for a month number, supplying ‘09’ into it.
But it became obvious, that simply writing 09 or 08 is an error too. 1-7 works fine.

Hello,
integer preceded by 0 are interpreted as octal numbers (see Literals CTL2).
What would you like to do?

it’s no good i can not specify string ‘09’ as a param value if i use a param in code, but i’ll keep it in mind
thanks

Hello,
you can use “09” as string, something like:


string my_param = "${my_param}";

More about using parameters in CTL, you can find in the Problem using parameters in functions topic.