I Have A Rounding Problem That I Can't Seem To Fix

“Think of [floating point] as JPEG of numbers.” - orionsyndrome on the Unity3D Forums

Floating (float) point imprecision:

Never test floating point (float) quantities for equality / inequality. Here’s why:

https://starmanta.gitbooks.io/unitytipsredux/content/floating-point.html

1 Like