from math import Math
Operation Name | Input Type | Output Type | Faults | Description |
abs | int | int | - | Returns the absolute value of the input integer. |
pi | void | double | - | Returns the PI constant |
pow | PowRequest | double | - | Returns the result of .base to the power of .exponent (see request data type). |
random | void | double | - | Returns a random number d such that 0.0 <= d < 1.0. |
round | RoundRequestType | double | - | |
summation | SummationRequest | int | - | Returns the summation of values from .from to .to (see request data type). For example, .from=2 and .to=5 would produce a return value of 2+3+4+5=14. |
PowRequest:
void {
base[1,1]: double //
exponent[1,1]: double //
}
RoundRequestType:
double {
decimals[0,1]: int //
}
SummationRequest:
void {
from[1,1]: int //
to[1,1]: int //
}