-
Notifications
You must be signed in to change notification settings - Fork 0
@libs.arithmetic.Division
github-actions[bot] edited this page Jan 24, 2024
·
7 revisions
@libs/arithmetic.Division
▸ div(x
, y
): number
Divides two numbers.
Name | Type | Description |
---|---|---|
x |
number |
The first number. |
y |
number |
The second number. |
number
The quotient of the two numbers.
Example
// Return 1:
div(1, 1);
Example
// Return 3:
div(3, 1);
Example
// Return -0.3333333333333333:
div(1, -3);
If you want single repo example, please go to https://github.com/rhea-so/tsdoc-github-wiki-example