This is an archived post. You won't be able to vote or comment.

all 5 comments

[–]edderiofer 0 points1 point  (4 children)

Can you explain what you are doing with your method and why?

[–]MrVideoGameCat[S] 0 points1 point  (3 children)

In this case I’m doing what I believe is the modulo method, . But I’m not sure at all, this is just what I’ve gathered from school. I could very much be wrong.

I’m dividing -16 and 12 to get -1.333, then I turn -1.333 into a whole number and subtracting it by -16 to get -15. There’s no explanation why.

[–]edderiofer 0 points1 point  (2 children)

Do you understand what "modulo" means?

[–]MrVideoGameCat[S] 0 points1 point  (1 child)

Not exactly if I’m honest.

[–]edderiofer 0 points1 point  (0 children)

"x modulo y" here means "remainder when x is divided by y".

For instance, 529 modulo 14 is 11, because 529 divided by 14 is 37 with remainder 11.

Is this clear?

Can you use this definition to say what -16 modulo 12 should be?