Subj : Re: sm: JS_ValueToInt unexpected results To : Jens Thiele From : Brendan Eich Date : Sat Jan 08 2005 02:04 pm Jens Thiele wrote: > Hi, > > JS_ValueToInt32 gives unexpected results (wrap around => negative) for > Number values: > [2147483647.5, 2147483648[ Do you want this old API? fur created it for use with coordinates, back in the Netscape 4 ("layers") daze. Perhaps you want JS_ValueToECMAInt32 instead. I'm not sure we should change any API at this point, unless the change is always a fix for all use-cases. /be .