Very simple maths question

5 posts

Flag Post

Blunt answers are fine.
What do these two expressions mean when used in an equation? “%” and “&”

var a = b % c;
var d = e & f;

Cheers. :P

 
Flag Post

Looks like you need to have a AS function reference open.

% = modulo
& = bitwise and

 
Flag Post
Originally posted by BobJanova:

& = bitwise and

I’m not following you…
EDIT: Another one I don’t get. “~” Although, I think that was used in logic, not an equation.

 
Flag Post

A very well thought out tutorial on bitwise operators.

 
Flag Post
Originally posted by UnknownGuardian:

A very well thought out tutorial on bitwise operators.

Cheers. :)