File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1409,7 +1409,7 @@ The precise return type of the function depends on the types of its parameters &
1409
1409
| Parameter | Required | Type | Description |
1410
1410
| --------- | -------- | ---- | ----------- |
1411
1411
| <* dividend* > | Yes | Integer or Float | The number to divide by the * divisor* |
1412
- | <* divisor* > | Yes | Integer or Float | The number that divides the * dividend* , but cannot be 0 |
1412
+ | <* divisor* > | Yes | Integer or Float | The number that divides the * dividend* . A * divisor * value of zero causes an error at runtime. |
1413
1413
|||||
1414
1414
1415
1415
| Return value | Type | Description |
@@ -1431,13 +1431,13 @@ And all return this result: `4.5`
1431
1431
1432
1432
* Example 2*
1433
1433
1434
- This example also divides the number 9 by 2, but integer division (discarding the remainder) is performed because both parameters are integers.
1434
+ This example also divides the number 9 by 2, but because both parameters are integers the remainder is discarded (integer division):
1435
1435
1436
1436
```
1437
1437
div(9, 2)
1438
1438
```
1439
1439
1440
- The expression returns the result ` 4 ` . To obtain the remainder result, see [ mod()] ( #mod ) .
1440
+ The expression returns the result ` 4 ` . To obtain the value of the remainder, use the [ mod()] ( #mod ) function .
1441
1441
1442
1442
<a name =" encodeUriComponent " ></a >
1443
1443
You can’t perform that action at this time.
0 commit comments