Preventing jQuery from using Scientific Notation in $.Animate()?
问题 How am I able to prevent jQuery from using scientific notation - 1.2e+07 instead of 12,000,000 within the jQuery.animate() function? Using: $('body').css({ backgroundPositionX: 12000000 + 'px' }); Converts to: background-position-x: 1.2e+07px; Desired results: background-position-x: 12000000px; This starts occuring as soon as the number hits 1 million (1,000,000): This, in turn, causes my application to behave strangely. I want pure, simple integer numbers -- none of this scientific nonsense!