@dinero.js/calculator-number
Version:
Number calculator implementation for Dinero.js
11 lines • 300 B
JavaScript
/**
* Returns the difference between two numbers.
*
* @param minuend - The number to subtract from.
* @param subtrahend - The number to subtract.
*
* @returns The difference of the two numbers.
*/
export var subtract = function subtract(minuend, subtrahend) {
return minuend - subtrahend;
};