Quotient

From StarLogo Nova Wiki
Revision as of 16:00, 14 August 2023 by Admin (talk | contribs) (Marked this version for translation)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Other languages:
The Quotient Block

Usage

Returns the quotient of two inputs.

Syntax

Inputs in this block:

  1. a number
  2. a number

the first value will be divided by the second.

Example

Quotient example code

This is a model of an epidemic. To monitor the spread of the epidemic, data boxes and a line graph have been employed to monitor immune, uninfected, and infected populations. An epidemic occurs when the infected population exceeds the expected infected population. When over 5% of the population is infected, the warning label is shown.

Related Blocks