Subj : Re: Converting to double To : netscape.public.mozilla.jseng From : Jamie Nordmeyer Date : Tue Apr 12 2005 01:36 pm Ah! Never mind. I should be using the JS_ValueToInt32 function. It works now. "Jamie Nordmeyer" wrote in message news:d3h7ld$58f1@ripley.netscape.com... > Hi all. I'm passing the value 0x80000002 in to a function. In the C > handler for the function, I've tried using both JSVAL_TO_DOUBLE(argv[0]) and > JSVAL_TO_INT(argv[0]). Neither are returning 0x80000002. > > Any ideas on what I might be doing wrong? > > .