Skip to content Skip to sidebar Skip to footer
Showing posts with the label Precision

Google Maps V3: Invalid Value For Constructor Parameter 0 While Drawing Polylines

I have a problem when constructing a polygon. The error message says something like: Invalid valu… Read more Google Maps V3: Invalid Value For Constructor Parameter 0 While Drawing Polylines

2.9999999999999999 >> .5?

I heard that you could right-shift a number by .5 instead of using Math.floor(). I decided to check… Read more 2.9999999999999999 >> .5?