On Thursday 25 August 2011, Daniel-Constantin Mierla wrote:
> On 8/25/11 12:54 PM, Alex Hermann wrote:
> > If you just use fixed-point for fractional values, you can remove the dot
> > and convert to int.
> > 
> > $(var(float){s.replace,.}{s.int})
> 
> By fixed point do you mean when the fractional part has fixed length?
Yes.

There was a typo above, syntax should be:

$(var(float){s.replace,.,}{s.int})

-- 
Greetings,

Alex Hermann


_______________________________________________
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