@dinero.js/calculator-number
Version:
Number calculator implementation for Dinero.js
11 lines (10 loc) • 316 B
TypeScript
import type { BinaryOperation } from '@dinero.js/core';
/**
* 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 declare const subtract: BinaryOperation<number>;