> I belive that parseInt treats it as a string That's the definition of parseInt. See http://www.ecma-international.org/publications/files/ecma-st/Ecma-262.pdf section 22.214.171.124. In particular, the function definition: parseInt (string , radix) and the description of how the function works: When the parseInt function is called, the following steps are taken: 1. Call ToString(string). 2. Let S be a newly created substring of Result(1) consisting of the first character that is not a StrWhiteSpaceChar and all characters following that character. (In other words, remove leading white space.) 3. Let sign be 1. ... and so on. The key part here is step 1. It sounds like you are looking for Math.round(), not parseInt()....