mirror of
https://github.com/cosmos/cosmjs.git
synced 2025-03-10 21:49:15 +00:00
Add Decimal.minus() to declaration file
This commit is contained in:
parent
0975afcb4a
commit
eeec000076
7
packages/math/types/decimal.d.ts
vendored
7
packages/math/types/decimal.d.ts
vendored
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user