Hey all
A quick question here, why does 20/200.0 give me 0.10000000000000001 in
cocoa

I would of expected some weird rounding errors in Javascript, but I thought
cocoa would be able to handle the above equation.

If it can't help it, will it always round up, ie be 0.00000000000000001
above the correct answer.  If so, i can work around it.

Using other numbers i also get

40/200.0 = 0.20000000000000001
10/200.0 = 0.050000000000000003

Cheers

Lango
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to