mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-03-29 22:38:33 +08: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:
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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user