<div><div dir="auto">Totally agree that this is the right thing to do. I just wanted the list to know it’s a STRING. I don’t think it’s obvious.</div><div dir="auto"><br></div><div dir="auto">Thanks again!!</div><div dir="auto"><br></div></div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Mar 10, 2020 at 11:45 AM Liviu Chircu <<a href="mailto:liviu@opensips.org">liviu@opensips.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)">On 10.03.2020 18:39, Brett Nemeroff wrote:<br>
> This isn’t really a problem unless you are going to math it or push it <br>
> into something else without casting it.<br>
<br>
I agree, but at script level, there is no support for manipulating <br>
"long" integers,<br>
let along "double" precision integers. So casting the "double" number <br>
to a string<br>
within avpops and returning it to the script seemed like a pretty good <br>
workaround.<br>
<br>
Additionally, this doesn't stop you from doing floating point math in <br>
the script using mathops [1]!<br>
<br>
[1]: <a href="https://opensips.org/docs/modules/3.1.x/mathops.html" rel="noreferrer" target="_blank">https://opensips.org/docs/modules/3.1.x/mathops.html</a><br></blockquote></div></div>