MOD - Returning the Remainder After Division of Two Numbers

  • Last update:  2023-07-14
  • Extracted Data Version

    Overview

    Grammar

    MOD(number, divisor)

    Returns the remainder after the number is divided by the divisor. The result has the same sign as the divisor.

    Parameter 1

    number

    Number to be divided (dividend).

    Parameter 2

    divisor

    Number that divides another number (divisor). If the divisor equals 0, the remainder is returned as infinite; if the dividend equals 0, the remainder is returned as 0.

    Notes

    • The function supports two numerical parameters.

    Example

    FormulaResultNotes
    MOD(3,2)1
    MOD(-3,2)1
    MOD(3,-2)-1
    MOD(-3,-2)-1

    Direct Connect Version

    Overview

    GrammarMOD(number, divisor)

    Returns the remainder after the number is divided by the divisor. The result has the same sign as the dividend.

    Parameter 1numberNumber to be divided (dividend).
    Parameter 2divisorNumber that divides another number (divisor). If the divisor equals 0, the remainder is returned as infinite; if the dividend equals 0, the remainder is returned as 0.

    Notes

    • The function supports two numerical parameters.

    Example

    FormulaResultNotes
    MOD(3,2)1
    MOD(-3,2)-1
    MOD(3,-2)1
    MOD(-3,-2)-1


    附件列表


    主题: Advanced Data Analyis
    Previous
    Next
    • Helpful
    • Not helpful
    • Only read

    滑鼠選中內容,快速回饋問題

    滑鼠選中存在疑惑的內容,即可快速回饋問題,我們將會跟進處理。

    不再提示

    10s後關閉

    Get
    Help
    Online Support
    Professional technical support is provided to quickly help you solve problems.
    Online support is available from 9:00-12:00 and 13:30-17:30 on weekdays.
    Page Feedback
    You can provide suggestions and feedback for the current web page.
    Pre-Sales Consultation
    Business Consultation
    Business: international@fanruan.com
    Support: support@fanruan.com
    Page Feedback
    *Problem Type
    Cannot be empty
    Problem Description
    0/1000
    Cannot be empty

    Submitted successfully

    Network busy