Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
quentinadam committed Aug 5, 2024
1 parent cbb6688 commit 9c0f9df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Decimal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -193,10 +193,10 @@ export default class Decimal {

/**
* Returns the multiplicative inverse of the current Decimal instance.
*
*
* Throws if the resulting value cannot be represented with a fixed number of decimals (like 1/3).
* If you need to invert such a value, use the optional `significantDigits` parameter to specify the number of significant digits to use in the result.
*
*
* ```ts
* Decimal.from(3).inv(); // Throws
* Decimal.from(3).inv(2); // Returns 0.33
Expand Down

0 comments on commit 9c0f9df

Please sign in to comment.