-
Notifications
You must be signed in to change notification settings - Fork 0
Module Functions
Greets the caller.
Usage: hello_world([str: name])
- optional:
str: name
- str:
Hello, World!
orHello, {name}!
Returns the absolute value of the argument.
Usage: absolute(<number: number>)
- required:
number: number
- number:
result
Returns sum of numbers passed in.
Usage: add(<number: number1>, <number: number2>, [number: additional number(s)])
- required:
number: number1
- required:
number: number2
- optional:
number: additional number(s)
- number:
result
Returns the argument multiplied by itself, multiplied by itself again.
Usage: cube(<number: number>)
- required:
number: number
- number:
result
Returns result of division of other arguments on first argument.
Usage: divide(<number: denominator>, <number: numerator>, [number: additional numerator(s)])
- required:
number: denominator
- required:
number: numerator
- optional:
number: additional numerator(s)
- number:
result
Returns the first argument raised to the second argument.
Usage: exponent(<number: number>, <number: exponent>)
- required:
number: number
- required:
number: exponent
- number:
result
Returns the product of arguments.
Usage: multiply(<number: number1>, <number: number2>, [number: additional number(s)])
- required:
number: number 1
- required:
number: number 2
- optional:
number: additional number(s)
- number:
result
Returns the root of the argument.
Usage: square_root(<number: number>)
- required:
number: number
- number:
result
Returns the argument multiplied by itself.
Usage: square(<number: number>)
- required:
number: number
- number:
result
Returns result of subtraction of other arguments on first argument.
Usage: subtract(<number: subtractor>, <number: number>, [number: additional number(s)])
- required:
number: subtractor
- required:
number: number
- optional:
number: additional number(s)
- number:
result