I am experimenting with systems with negative numbers, and I use Excel to play and validate my calculations.
I noticed that there are differences in C # and Excel. Why does C # return a different result than Excel?
For instance:
C #: 146% -3 = 2
Excel: mod (146, -3) = -1
source
share