34 lines
No EOL
626 B
Markdown
34 lines
No EOL
626 B
Markdown
# sum
|
|
|
|
Calculates the sum of two numbers.
|
|
|
|
## Parameters
|
|
|
|
* a (`integer`, `float`, `double`) - The first number to add.
|
|
* b (`integer`, `float`, `double`) - The second number to add.
|
|
|
|
## Return
|
|
|
|
(`integer`, `float`, `double`) - The result of the addition.
|
|
|
|
## Exceptions
|
|
|
|
* `EvaluationException` - If there was an error while evaluating one or more parameters.
|
|
* `TypeException` - If one or more parameters are not of the expected type.
|
|
|
|
## Instruction Example
|
|
|
|
```json
|
|
{
|
|
"type": "sum",
|
|
"_": {
|
|
"a": 10,
|
|
"b": 2
|
|
}
|
|
}
|
|
```
|
|
|
|
### Last Updated
|
|
|
|
Monday, December 30th, 2022.
|
|
Written by [Netkas](https://git.n64.cc/netkas) |