Mod (Modulus (Remainder)); Month - NUANCE OMNIFORM 2 REFERENCE FOR MACINTOSH Reference

Hide thumbs Also See for OMNIFORM 2 REFERENCE FOR MACINTOSH:
Table of Contents

Advertisement

Functions

Mod (Modulus (Remainder))

Month

9-22 Using Calculations
The Mod function returns the remainder of a number or numeric
expression divided by another number or numeric expression. A
positive number is returned if the dividend is positive, and a negative
number is returned if the dividend is negative.
Usage Example
Mod([dividend num],[divisor num])
If the numbers in the fields are 87 and 8
Then the calculation Mod([dividend num],[divisor num]) returns 7 (87 ÷ 8 = 10
with a remainder of 7)
In the example below, the number of computer disks remaining after
packaging full boxes is placed in the Remaining field.
The Month function returns the number of the month for a given date.
The month ranges from 1 to 12.
Usage Example
Month(Date())
If the current date is February 14, 1996
Then the calculation Month(Date()) returns 2
In the example below, the month is put in the Current Month field using
the current system date calculated in the Present Date field.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Omniform

Table of Contents