$enableDecimals
Enables/disables decimals in math functions.
Syntax
$enableDecimals[Enable?]
Parameters
Enable?(Type: Bool || Flag: Required): Whether to enable decimals in math functions or not,yesmeans it’s enabled andnomeans it’s disabled.
Explaination
By default, decimals in math functions (e.g $sum, $sub, $multi, etc) are disabled. The only use for this function is to enable decimals, if you want decimals enabled for math functions in that command.
Example
$nomention
$enableDecimals[yes]
Result: $random[1;5]
- Without
$enableDecimals[](or result with$enableDecimals[no]):
How $random[] works?