Hello List,

Im trying to do some math functions, ive tried a few different ways and
get either invalid string operands or no value in right expression, ive
tried the following:

$avp(i:70) is set to say .005

$avp(i:55) = $avp(i:70) * (6 / 100);
$avp(i:55) = ($avp(i:70) * (6 / 100));
$avp(i:55) = $avp(i:70) * 6 / 100;
$avp(i:55) = $avp(i:70) * .006;
$avp(i:55) = ($avp(i:70) * .006);

Im sure I tried a few more to, but basically i want to take a AVP then
multiply it by a number and get a result, this will be a decimal like
0.00234

Any suggestions?

Thanks

_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to