On 04.03.2010 20:05, Brad Bendy wrote:
> That makes since now, we had a float actually. At this time no way to
> work with floats at all right?

There's always a workaround :)

>>> $avp(i:55) = $avp(i:70) * .006;

$avp(i:55) = $avp(i:70) * 6;

Just treat i:55 as if it was multiplied by 1000. It seems like you're
trying to do some cost calculation - so just assume that i:55 is
expressed as the number of 10'ths of a cent.

Then format it properly when needed for output.

_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to