source: node_modules/es-toolkit/dist/compat/math/divide.d.ts

Last change on this file was a762898, checked in by istevanoska <ilinastevanoska@…>, 5 months ago

Added visualizations

  • Property mode set to 100644
File size: 484 bytes
RevLine 
[a762898]1/**
2 * Divide two numbers.
3 *
4 * If either of the numbers is `NaN`, the function returns `NaN`.
5 *
6 * @param {number} value The first number in a division.
7 * @param {number} other The second number in a division.
8 * @returns {number} The quotient of value and other.
9 *
10 * @example
11 * divide(6, 3); // => 2
12 * divide(2, NaN); // => NaN
13 * divide(NaN, 3); // => NaN
14 * divide(NaN, NaN); // => NaN
15 */
16declare function divide(value: number, other: number): number;
17
18export { divide };
Note: See TracBrowser for help on using the repository browser.