Skip to main content

  | मौसम…

411 समाचार
Public archive edition · Attributed source reporting with original dates · AI drafts are excluded

411 REFERENCE · Wikibooks

Futurebasic/Language/Reference/mod

Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.

MOD Syntax remainder = expr MOD modulus Description The MOD operator subtracts from ABS(expr) the largest multiple of ABS(modulus) which is less than or equal to ABS(expr), and returns the result as remainder. If expr is negative, then a negative result is returned in remainder. Note that if expr and modulus are both integers, the result of MOD is just the remainder of the integer division operation expr / modulus. See Also Appendix D: Numeric Expressions