mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
Chore: Listing common modulo modes inline...
...instead of copying the table from the documentation to the definition file. There are already definitions for these modes in the RoundingMode enum.
This commit is contained in:
parent
d9a0cbb020
commit
bd7a78fcfe
2
decimal.js/decimal.js.d.ts
vendored
2
decimal.js/decimal.js.d.ts
vendored
@ -172,7 +172,7 @@ declare module decimal {
|
||||
*
|
||||
* The remainder, r, is calculated as: r = a - n * q.
|
||||
*
|
||||
* The modes that are most commonly used for the modulus/remainder operation are shown in the following table. Although the other rounding modes can be used, they may not give useful results.
|
||||
* The modes that are most commonly used for the modulus/remainder operation are ROUND_UP, ROUND_DOWN, ROUND_FLOOR, ROUND_HALF_EVEN, and EUCLID. Although the other rounding modes can be used, they may not give useful results.
|
||||
*/
|
||||
modulo?: RoundingMode;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user