Subj : Arithmetic Precision Question. To : netscape.public.mozilla.jseng From : chris.omland@gmail.com Date : Tue Jul 19 2005 02:38 pm Hi, I have a question on the return value/object when performing arithmetic expressions. I have a variable which is initialized to '0', later I add '1' to this variable, the result is '1.0'. I read in the newsgroup archives that Rhino will convert to a double when performing arithmetic, is there a way to configure the context or the Rhino engine to return an int if it is only given int or will it always return a double? I am using version 1.5.4. Thanks. -Chris .