DOCUMENTATION CalcMe
  • language Translations of this page
    • Translations of this page
    • Català (ca)
    • Dansk (da)
    • Deutsch (de)
    • English (en)
    • Español (es)
    • Français (fr)

  1. Wiris Ecosystem Documentation
  2. CalcMe documentation
  3. Commands
  4. Arithmetic
  5. Modulo

en:calc:commands:arithmetic:mod

Modulo

The modulo or modulus operation finds the remainder after division of one number by another.

Syntax

Integer mod Integer
Fraction mod Integer

Description

Integer mod Integer

Given two integer a and m, returns the remainder of the division a over m

Fraction mod Integer

Given a fraction a over b and an integer m, returns a times b to the power of negative 1 end exponent text  mod  end text m, as long as b is invertible modulo m.

Related functions

Remainder, Quotient, Quotient and remainder

Table of Contents
  • Syntax
  • Description
  • Related functions
Log In

Copyright © WIRIS 2021. All rights reserved.