File hp/lang/math.lua
Functions
math.average (...) | Calculate the average of the values of the argument. |
math.sum (...) | Calculate the total values of the argument |
Tables
math | modules that extend functionality of the math. |
Functions
- math.average (...)
-
Calculate the average of the values of the argument.
Parameters
- ...: The number of variable-length argument
Return value:
average - math.sum (...)
-
Calculate the total values of the argument
Parameters
- ...: The number of variable-length argument
Return value:
total