I understand the rest, but what's the + 0.1 part doing? fwiw the code was added to fix this bug: http://sourceforge.net/tracker/?func=detail&aid=2478266&group_id=6744&atid=106744
I think that ceil, round or (implicit in integer division) floor are all OK as fixes to the original problem, so I'd be tempted to just drop the useless ceil() call instead and leave the behavior unchanged. Jeff ------------------------------------------------------------------------------ Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev _______________________________________________ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers