Swarthmore / litterfall

Application and Scripts used for the Litterfall Project
0 stars 1 forks source link

Javascript's float having too many decimals #44

Closed zafire06 closed 10 years ago

zafire06 commented 11 years ago

There are some issues with how Javascript handles floats. screen shot 2013-07-08 at 9 52 19 am

The decimals are superfluous. This is likely caused by some operations in Javascript. (The user did not enter the excessive decimals.) This is fixed on the display level, but could be a potentially annoying issue in the future.

jadams1 commented 10 years ago

I looked through most of the database in the mongo shell and was unable to find any entries that looked like this. I believe the Puppy trees have been removed anyway, so perhaps this was a temporary issue that resolved itself, Mallory-effect style. Closed!

jadams1 commented 10 years ago

(forgot to say the main point of this which is that as long as it's okay in the mongo database and in the display, I don't think there will be future issues)