Skip to content

Commit

Permalink
Readme update - including subtract API
Browse files Browse the repository at this point in the history
  • Loading branch information
dinoknowsbetter committed Aug 5, 2024
1 parent 222028e commit 6c9b624
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ Adds two numbers with improved precision.

Divides two numbers with improved precision.

### `HyperMath.subtract(firstValue: number | string, secondValue: number | string): number`

Subtracts two numbers with improved precision.

## Notes

- This library uses `toPrecision(2)` internally, which may lead to rounding in some cases. Be aware of this limitation when using the library for calculations requiring high precision.
Expand Down

0 comments on commit 6c9b624

Please sign in to comment.