Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Add max and min functions
- Loading branch information
1 parent
a85b0bc
commit 2076031
Showing
4 changed files
with
71 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<h3>max() function</h3> | ||
Returns the largest value in a set of values. | ||
|
||
<h4>Syntax</h4> | ||
max(<i>value<i>[,<i>value</i>...]) | ||
|
||
<h4>Arguments</h4> | ||
<!-- List args for functions here--> | ||
<i> value</i> → a number.<br> | ||
|
||
<h4>Example</h4> | ||
<!-- Show example of function.--> | ||
max(2,10.2,5.5) → 10.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<h3>min() function</h3> | ||
Returns the smallest value in a set of values. | ||
|
||
<h4>Syntax</h4> | ||
min(<i>value<i>[,<i>value</i>...]) | ||
|
||
<h4>Arguments</h4> | ||
<!-- List args for functions here--> | ||
<i> value</i> → a number.<br> | ||
|
||
<h4>Example</h4> | ||
<!-- Show example of function.--> | ||
min(20.5,10,6.2) → 6.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters