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 6c9b624 commit 67e7d90
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ console.log(HyperMath.add(0.1, 0.2)); // 0.3 (instead of 0.30000000000000004)

// Division
console.log(HyperMath.divide(0.3, 0.1)); // 3 (instead of 2.9999999999999996)

// Subtraction
console.log(HyperMath.subtract(0.3, 0.1)); // 0.2 (instead of 0.19999999999999998)
```

## Features
Expand Down

0 comments on commit 67e7d90

Please sign in to comment.