Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

decimal-subtract

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

decimal-subtract - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

2

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc