(second arg defaults to 0) |
(→Examples: syntax highlighting) |
||
Line 7: | Line 7: | ||
== Examples == |
== Examples == |
||
+ | <syntaxhighlight lang="lua"> |
||
− | <pre> |
||
print(max(40, 20)) -- 40 |
print(max(40, 20)) -- 40 |
||
Line 17: | Line 17: | ||
print(max(-5)) -- 0 |
print(max(-5)) -- 0 |
||
+ | </syntaxhighlight> |
||
− | </pre> |
||
== See also == |
== See also == |