Re: [exim] invalid integer

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Bit-IT [Steven]
Data:  
Para: exim-users
Asunto: Re: [exim] invalid integer
Hi Konstantin,

The expression expects an integer, not a floating point number.
Maybe you can multiply your numbers by 10 ?

(spamassassin provides a variable $spam_score_int which gives 151
instead of 15.1 in $spam_score)


Vriendelijke groeten,
Best regards,


    Bit-IT - Steven Broos


steven@???
+32 (0) 470 56 20 45

BE 0881.128.303


P Please consider the environment before printing this email.
On 3/06/2014 12:45, Konstantin wrote:
> Hi
>
> Can someone explain why following condition does not work with
> floating-point values?
>
> exim -be '${if >={15.1}{14}{yes}{no}}'
> Failed: invalid integer "15.1"
>
> Thanks.