View Single Post
05-29-2007, 09:37 PM
#1
hewy is offline hewy
Status: Member
Join date: May 2006
Location: UK
Expertise:
Software:
 
Posts: 294
iTrader: 3 / 80%
 

hewy is on a distinguished road

  Old  Pascal - MOD help needed

Hey,

I have a test tomorrow on pascal and can't quite grasp the MOD function in pascal.

-100 MOD 8 = -4

I thought it was the remainder? -100/8 = 12.5 answer = 5?

Can someone clarify?

Reply With Quote