256
edits
Line 20: | Line 20: | ||
==== floor ==== | ==== floor ==== | ||
''number'' floor(''number'' value); | ''number'' '''floor'''(''number'' value); | ||
Returns the floor of a number. | Returns the floor of a number. | ||
Line 28: | Line 28: | ||
==== max ==== | ==== max ==== | ||
''number'' max(''number'' value1, ''number'' value2[, ''number'' ...]); | ''number'' '''max'''(''number'' value1, ''number'' value2[, ''number'' ...]); | ||
Returns the numerically highest value of the given arguments. At least two arguments are required. | Returns the numerically highest value of the given arguments. At least two arguments are required. | ||
Line 37: | Line 37: | ||
==== min ==== | ==== min ==== | ||
''number'' min(''number'' value1, ''number'' value2[, ''number'' ...]); | ''number'' '''min'''(''number'' value1, ''number'' value2[, ''number'' ...]); | ||
Returns the numerically lowest value of the given arguments. At least two arguments are required. | Returns the numerically lowest value of the given arguments. At least two arguments are required. | ||
Line 45: | Line 45: | ||
==== mod ==== | ==== mod ==== | ||
''number'' mod(''number'' dividend, ''number'' divisor); | ''number'' '''mod'''(''number'' dividend, ''number'' divisor); | ||
Returns the reminder when dividing dividend with divider. | Returns the reminder when dividing dividend with divider. | ||
Line 52: | Line 52: | ||
==== pow ==== | ==== pow ==== | ||
''number'' pow(''number'' base, ''number'' exp); | ''number'' '''pow'''(''number'' base, ''number'' exp); | ||
Returns base to the power of exp. | Returns base to the power of exp. | ||
Line 60: | Line 60: | ||
==== round ==== | ==== round ==== | ||
''number'' round(''number'' value[, ''number'' precision]); | ''number'' '''round'''(''number'' value[, ''number'' precision]); | ||
Returns base to the power of exp. | Returns base to the power of exp. | ||
Line 69: | Line 69: | ||
==== sqrt ==== | ==== sqrt ==== | ||
''number'' sqrt(''number'' value); | ''number'' '''sqrt'''(''number'' value); | ||
Returns the square root of value. | Returns the square root of value. | ||
'''Example''' | '''Example''' | ||
sqrt(9); // Returns 3 | sqrt(9); // Returns 3 |
edits