Skip to content

Commit

Permalink
fix min and max, and change mid's description
Browse files Browse the repository at this point in the history
  • Loading branch information
thacuber2a03 committed Mar 28, 2024
1 parent 473e01f commit 43ba89e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 61 deletions.
24 changes: 2 additions & 22 deletions math/max.json
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"]}}
19 changes: 2 additions & 17 deletions math/mid.json
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"}}
24 changes: 2 additions & 22 deletions math/min.json
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()"}}

0 comments on commit 43ba89e

Please sign in to comment.