Customer Portal

Clover bug with number

Comments 3

  • Avatar
    avackova
    0
    Comment actions Permalink
    Hello,
    integer preceded by 0 are interpreted as octal numbers (see Literals CTL2).
    What would you like to do?
  • Avatar
    golomeen
    0
    Comment actions Permalink
    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
  • Avatar
    avackova
    0
    Comment actions Permalink
    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.

Please sign in to leave a comment.