Difference/es: Difference between revisions

From StarLogo Nova Wiki
(Updating to match new version of source page)
(Updating to match new version of source page)
 
Line 1: Line 1:
<languages/>
<languages/>
<div lang="en" dir="ltr" class="mw-content-ltr">
<section begin="image"/>[[File:difference.png|alt=The Difference Block|thumb]]<section end="image"/>
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
==Usage==
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
<div lang="en" dir="ltr" class="mw-content-ltr">
<p id="tooltip">Returns the difference of two inputs.</p>
<p id="tooltip">Returns the difference of two inputs.</p>
</div>
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
==Syntax==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Inputs in this block:
#a number
#a number
the latter of which will be subtracted from the former.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
==Example==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
[[File:difference_example.gif|alt=Difference example gif|thumb]]
[[File:difference_example.png|alt=Difference example code|thumb]]
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
This is a model of elephant health given factors that nourish the elephant (grass) and factors that harm the elephant (poachers).  When an elephant’s health falls to zero, it is no longer visible. This demonstrates the negative impact of poachers on elephant populations.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
==Related Blocks==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
*[[Special:MyLanguage/Sum|Sum +]]
*[[Special:MyLanguage/Product|Product *]]
*[[Special:MyLanguage/Quotient|Quotient /]]
</div>


[[Category:Matemática]]
[[Category:Matemática]]
[[Category:Code Block]]
[[Category:Code Block]]

Latest revision as of 16:39, 14 August 2023

Other languages:
The Difference Block

Returns the difference of two inputs.

Syntax

Inputs in this block:

  1. a number
  2. a number

the latter of which will be subtracted from the former.

Example

Difference example gif
Difference example code

This is a model of elephant health given factors that nourish the elephant (grass) and factors that harm the elephant (poachers). When an elephant’s health falls to zero, it is no longer visible. This demonstrates the negative impact of poachers on elephant populations.

Related Blocks