In javascript, we know that some floating point arithmetic will result in values that contain a very small remainder. for example if I open my console and do this math I get this result as seen here
Typically one must know to round after doing these operations. When using parse, and using the increment
function. If I have a column called Quantity in my DB and it currently has a value of 6.5 and I call myobject.increment("Quantity", -4.1)
we end up with an unrounded value in the DB. the use of increment is required here as many entities may be adjusting this column at or near the same time, so race conditions are a concern.
since the arithmetic happens under the hood, how does parse expect one to handle cases like I mentioned above.