The mod() function returns the integer remainder of a division


Author
Message
Blackadder
Blackadder
Supreme Being (27K reputation)Supreme Being (27K reputation)Supreme Being (27K reputation)Supreme Being (27K reputation)Supreme Being (27K reputation)Supreme Being (27K reputation)Supreme Being (27K reputation)Supreme Being (27K reputation)Supreme Being (27K reputation)
Group: Forum Members
Posts: 280, Visits: 147

Just a quick note: other than stated in the help, Inquisit's mod() function computes the integer remainder of a division.

Examples

mod(1,2)  = 1
mod(2,9)  = 2
mod(11,4) = 3


I haven't tested what mod(3.14,2) would yield but I assume it to be 1.14.

Bye, Malte


GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Reading This Topic

Explore
Messages
Mentions
Search