Remainder

Alert( 5 % 2 ); // 1 is a remainder of 5 divided by 2
alert( 8 % 3 ); // 2 is a remainder of 8 divided by 3
alert( 6 % 3 ); // 0 is a remainder of 6 divided by 3

The remainder operator % despite its look does not have a relation to percents.

Related concepts

Remainder

Remainder — Structure map

Clickable & Draggable!

Remainder — Related pages: