Added documentation for arithmetic instructions

This commit is contained in:
Netkas 2022-12-30 00:46:50 -05:00
parent 933f194726
commit e11efb01b9
10 changed files with 304 additions and 5 deletions

View file

@ -0,0 +1,32 @@
# abs
Returns the absolute value of a number.
## Parameters
* value (`integer`, `float`, `double`) - The number to get the absolute value of.
## Return
(`integer`, `float`, `double`) - The result of the absolute value.
## 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": "abs",
"_": {
"value": 10
}
}
```
### Last Updated
Monday, December 30th, 2022.
Written by [Netkas](https://git.n64.cc/netkas)