decimal-subtract
Advanced tools
Comparing version 1.0.1 to 1.0.2
{ | ||
"name": "decimal-subtract", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Workaround for JavaScript's decimal numbers subtraction problem.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -12,4 +12,3 @@ ## decimal-subtract | ||
const { decimalSubtract } = require("decimal-subtract"); | ||
// Browser | ||
import { decimalSubtract } from ('decimal-subtract'); | ||
// In browser use `window.decimalSubtract` | ||
@@ -16,0 +15,0 @@ console.log(1 - 0.55); // 0.44999999999999996 |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1567
17