Remainder Of/en: Difference between revisions

From StarLogo Nova Wiki
(Updating to match new version of source page)
 
(Updating to match new version of source page)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<languages/>
<languages/>
<section begin="image"/>[[File:remainder_of.png|alt=The Remainder Of Block|thumb]]<section end="image"/>
==Usage==
<p id="tooltip">Returns the remainder of the first input divided by the second input.</p>
==Syntax==
Inputs in this block:
#a number
#a number
the first will be divided by the second
==Example==
[[File:remainder_of_example.gif|alt=Remainder Of example gif|thumb]]
[[File:remainder_of_example.png|alt=Remainder Of example code|thumb]]
The model above is of precipitation throughout the four seasons. The World trait temperature changes depending on the season and affects the precipitation that is created by the cloud. The seasons are dependent on the remainder of the [[Special:MyLanguage/Clock|clock]] divided by 160, and naturally cycle through before repeating. 
==Related Blocks==
*[[Special:MyLanguage/Quotient|Quotient]]


[[Category:Math]]
[[Category:Math]]
[[Category:Code Block]]
[[Category:Code Block]]

Latest revision as of 17:26, 14 August 2023

Other languages:
The Remainder Of Block

Usage

Returns the remainder of the first input divided by the second input.

Syntax

Inputs in this block:

  1. a number
  2. a number

the first will be divided by the second

Example

Remainder Of example gif
Remainder Of example code

The model above is of precipitation throughout the four seasons. The World trait temperature changes depending on the season and affects the precipitation that is created by the cloud. The seasons are dependent on the remainder of the clock divided by 160, and naturally cycle through before repeating.

Related Blocks