Forum Moderators: open
Can someone please tell me what math operators Netscape supports? I wrote a script that counts the length of a line and breaks every fifty characters. I’m using % operator in my script which works with IE 6 but does not seem to work with Netscape. This operator is also known as mod and it returns the remainder of a division. I probably have to write two different versions of this script, but I don't mind as long as I know what to use for mod function with Netscape.
Thanks a lot.
How does % operator deal with negative numbers? [groups.google.com]
Regards,
Brent
If you are concerned with other browser versions, and what level of script they support, you may also find this earlier WebmasterWorld thread helpful:
Javascript/Jscript/ECMAScript version history [webmasterworld.com]
And here's another reference for supporting older versions -- all three versions of the script (Netscape, MS, ECMA) are represented here, from 1.4 on back:
Index of javascript reference manuals prior to 1.5 [tech.irt.org]