From 67e7d900af6ad27c004a369a2e3215903a25a901 Mon Sep 17 00:00:00 2001 From: dinoknowsbetter <dino@dd9.dev> Date: Mon, 5 Aug 2024 06:09:13 -0500 Subject: [PATCH] Readme update - including subtract API --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 568a2fb..46a0c86 100644 --- a/README.md +++ b/README.md @@ -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