Re: [exim] More integer annoyances in 4.65

Etusivu
Poista viesti
Vastaa
Lähettäjä: Jakob Hirsch
Päiväys:  
Vastaanottaja: exim-users
Aihe: Re: [exim] More integer annoyances in 4.65
Quoting Magnus Holmgren:

>> ${if >{0${spam_score_int}}{50}}
> It would, if it weren't that $spam_score_int can be negative (and eval doesn't
> like things like "0-" either).


eval is ok, since you would only have the cases "0-123", "0" and "0123".
But better use eval10. :)