Add Decimal.minus() to declaration file

This commit is contained in:
Abel Fernández 2020-09-15 10:08:00 +02:00
parent 0975afcb4a
commit eeec000076

View File

@ -24,6 +24,13 @@ export declare class Decimal {
* Both values need to have the same fractional digits.
*/
plus(b: Decimal): Decimal;
/**
* a.minus(b) returns a-b.
*
* Both values need to have the same fractional digits.
* The resulting difference needs to be non-negative.
*/
minus(b: Decimal): Decimal;
equals(b: Decimal): boolean;
isLessThan(b: Decimal): boolean;
isLessThanOrEqual(b: Decimal): boolean;