Am 18.01.2011 21:26, schrieb Brandon Armstead:
Hello,

    Is there anything special that needs to be done for float comparison?

For example:

if([5.5 >= 4.3]) ....

or
if(5.5 > 4.3) ....

The conditional does not seem to be coming back as true like it should?

I have no idea if floating point comparison is supported, but you could multiple the values (e.g. * 10000) before comparison

regards
klaus

_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to