-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix min and max, and change mid's description
- Loading branch information
1 parent
473e01f
commit 43ba89e
Showing
3 changed files
with
6 additions
and
61 deletions.
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 |
---|---|---|
@@ -1,22 +1,2 @@ | ||
{ | ||
"metadata" : { | ||
"page_title" : "max()", | ||
"version" : "0.2", | ||
"authors" : ["kravohi", "thacuber2a03"] | ||
}, | ||
"elements" : [ | ||
{ | ||
"type" : "label", | ||
"text" : "Returns the largest of its arguments." | ||
}, | ||
{ | ||
"type" : "snippet", | ||
"text" : "max(3,13,24,5,18)\n-- this returns 24" | ||
}, | ||
{ | ||
"type" : "wiki_ref", | ||
"ref" : "topics/math", | ||
"text" : "Go to Math" | ||
} | ||
] | ||
} | ||
--[[pod_format="raw",created="2024-03-28 20:22:45",modified="2024-03-28 20:22:45",revision=0]] | ||
{"elements":[{"type":"label","text":"Takes two arguments and returns the largest."},{"type":"snippet","text":"max(3,13) --> 13\nmax(24,5) --> 24"}],"metadata":{"page_title":"max()","version":"0.2","authors":["kravohi","thacuber2a03"]}} |
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 |
---|---|---|
@@ -1,17 +1,2 @@ | ||
{ | ||
"metadata" : { | ||
"page_title" : "mid()", | ||
"version" : "0.2", | ||
"authors" : ["thacuber2a03"] | ||
}, | ||
"elements" : [ | ||
{ | ||
"type" : "snippet", | ||
"text" : "mid(min, val, max)" | ||
}, | ||
{ | ||
"type" : "label", | ||
"text" : "Returns the middle of its arguments." | ||
} | ||
] | ||
} | ||
--[[pod_format="raw",created="2024-03-28 20:25:47",modified="2024-03-28 20:25:47",revision=0]] | ||
{"elements":[{"text":"Takes 3 arguments, and returns the argument that\nis numerically contained within the other two.","type":"label"},{"text":"mid(2, 5, 8) --> 5\nmid(8, 2, 5) --> still 5\nmid(2, 1, 9) --> 2","type":"snippet"}],"metadata":{"page_title":"mid()","authors":["thacuber2a03"],"version":"0.4"}} |
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 |
---|---|---|
@@ -1,22 +1,2 @@ | ||
{ | ||
"metadata" : { | ||
"page_title" : "min()", | ||
"version" : "0.2", | ||
"authors" : ["kravohi", "thacuber2a03"] | ||
}, | ||
"elements" : [ | ||
{ | ||
"type" : "label", | ||
"text" : "Returns the smallest of its arguments." | ||
}, | ||
{ | ||
"type" : "snippet", | ||
"text" : "max(3,13,24,5,18)\n-- this returns 3" | ||
}, | ||
{ | ||
"type" : "wiki_ref", | ||
"ref" : "topics/math", | ||
"text" : "Go to Math" | ||
} | ||
] | ||
} | ||
--[[pod_format="raw",created="2024-03-28 20:24:11",modified="2024-03-28 20:24:11",revision=0]] | ||
{"elements":[{"text":"Takes two arguments and returns the smallest.","type":"label"},{"text":"min(3,13) --> 3\nmin(24,5) --> 5","type":"snippet"}],"metadata":{"authors":["kravohi","thacuber2a03"],"version":"0.2","page_title":"min()"}} |