Click to See Complete Forum and Search --> : simple calc. question?


lior6543
February 8th, 2005, 06:02 AM
Int32 Result = static_cast<Int32>( 5 / 2 ); // Result = 2;

how can i get the leftover which is equals to 1.

axr0284
February 8th, 2005, 07:18 AM
Try 5%2
Amish