Skip to content

Commit b63a1cb

Browse files
Update control-flow-expression-language-functions.md
1 parent 4d7f95b commit b63a1cb

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

articles/data-factory/control-flow-expression-language-functions.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ These functions are useful inside conditions, they can be used to evaluate any t
327327
| [div](control-flow-expression-language-functions.md#div) | Return the result from dividing one number by another number. |
328328
| [max](control-flow-expression-language-functions.md#max) | Return the highest value from a set of numbers or an array. |
329329
| [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. |
331331
| [mul](control-flow-expression-language-functions.md#mul) | Return the product from multiplying two numbers. |
332332
| [rand](control-flow-expression-language-functions.md#rand) | Return a random integer from a specified range. |
333333
| [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`
23782378

23792379
### mod
23802380

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).
23832382

23842383
```
23852384
mod(<dividend>, <divisor>)
@@ -2388,7 +2387,7 @@ mod(<dividend>, <divisor>)
23882387
| Parameter | Required | Type | Description |
23892388
| --------- | -------- | ---- | ----------- |
23902389
| <*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. |
23922391
|||||
23932392

23942393
| Return value | Type | Description |
@@ -2398,13 +2397,13 @@ mod(<dividend>, <divisor>)
23982397

23992398
*Example*
24002399

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:
24022401

24032402
```
24042403
mod(3, 2)
24052404
```
24062405

2407-
And return this result: `1`
2406+
And returns this result: `1`
24082407

24092408
<a name="mul"></a>
24102409

0 commit comments

Comments
 (0)