How to add your knowledge

mod()

    Table of contents
    1. 1. Synopsis
    2. 2. Syntax
    3. 3. Example 1
    4. 4. Example 2

    Synopsis

    Returns the remainder (modulus) when num is divided by den.

    Syntax

    mod ( num As Number, _
           den As Number ) As Number 
    Argument Type Description
    num Number The numerator of the operation.
    den Number The denominator of the operation.

    Example 1

    Intent >mod(3, 2) 
    --> 1.0 

    Example 2

    Intent >mod(3.1, 2)
    --> 1.1