@@ -327,7 +327,7 @@ These functions are useful inside conditions, they can be used to evaluate any t
327
327
| [ div] ( control-flow-expression-language-functions.md#div ) | Return the result from dividing one number by another number. |
328
328
| [ max] ( control-flow-expression-language-functions.md#max ) | Return the highest value from a set of numbers or an array. |
329
329
| [ min] ( control-flow-expression-language-functions.md#min ) | Return the lowest value from a set of numbers or an array. |
330
- | [ mod] ( control-flow-expression-language-functions.md#mod ) | Return the remainder from dividing two numbers . |
330
+ | [ mod] ( control-flow-expression-language-functions.md#mod ) | Return the remainder from dividing one number by another number . |
331
331
| [ mul] ( control-flow-expression-language-functions.md#mul ) | Return the product from multiplying two numbers. |
332
332
| [ rand] ( control-flow-expression-language-functions.md#rand ) | Return a random integer from a specified range. |
333
333
| [ range] ( control-flow-expression-language-functions.md#range ) | Return an integer array that starts from a specified integer. |
@@ -2378,8 +2378,7 @@ And return this result: `1`
2378
2378
2379
2379
### mod
2380
2380
2381
- Return the remainder from dividing two numbers.
2382
- To get the integer result, see [ div()] ( #div ) .
2381
+ Return the remainder from dividing one number by another number. For integer division, see [ div()] ( #div ) .
2383
2382
2384
2383
```
2385
2384
mod(<dividend>, <divisor>)
@@ -2388,7 +2387,7 @@ mod(<dividend>, <divisor>)
2388
2387
| Parameter | Required | Type | Description |
2389
2388
| --------- | -------- | ---- | ----------- |
2390
2389
| <* dividend* > | Yes | Integer or Float | The number to divide by the * divisor* |
2391
- | <* divisor* > | Yes | Integer or Float | The number that divides the * dividend* , but cannot be 0 . |
2390
+ | <* divisor* > | Yes | Integer or Float | The number that divides the * dividend* . A * divisor * value of zero causes an error at runtime . |
2392
2391
|||||
2393
2392
2394
2393
| Return value | Type | Description |
@@ -2398,13 +2397,13 @@ mod(<dividend>, <divisor>)
2398
2397
2399
2398
* Example*
2400
2399
2401
- This example divides the first number by the second number:
2400
+ This example calculates the remainder when the first number is divided by the second number:
2402
2401
2403
2402
```
2404
2403
mod(3, 2)
2405
2404
```
2406
2405
2407
- And return this result: ` 1 `
2406
+ And returns this result: ` 1 `
2408
2407
2409
2408
<a name =" mul " ></a >
2410
2409
0 commit comments