This is a JavaScript feature.
http://www.w3schools.com/jS/js_operators.asp
See "Adding Strings and Numbers"

A

On Sep 8, 8:58 am, chris idr <[EMAIL PROTECTED]> wrote:
> rhino doesnt seem to treat + the same all the time.
>
> event.value = ab.value + ac.value + ad.value + ae.value + af.value +
> ag.value + ah.value - ai.value
> these values are 15, 0, 0, 0, 0, 0, 0, 0 respectively
> which actually sets event.value to 15000000
>
> is there anything You can think of that I could do to get rhino to treat
> each value as a number not a string.
>
> Chris


_______________________________________________
dev-tech-js-engine-rhino mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-js-engine-rhino

Reply via email to