Skip to content

Commit

Permalink
added jsdoc comment for divide.js
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielJDufour committed Nov 23, 2022
1 parent 13c31d8 commit 4b7346a
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions divide.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,15 @@ const absolute = require("./absolute.js");
const clean = require("./clean.js");
const long_division = require("./long_division.js");

/**
* @name divide
* @param {String} dividend
* @param {String} divisor
* @param {Object} options
* @param {Number} options.max_decimal_digits
* @param {Boolean} options.ellipsis
* @returns {String} - quotient
*/
function divide(dividend, divisor, options) {
dividend = clean(dividend);
divisor = clean(divisor);
Expand Down

0 comments on commit 4b7346a

Please sign in to comment.