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

js-big-decimal

Package Overview
Dependencies
Maintainers
1
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

js-big-decimal - npm Package Compare versions

Comparing version 1.1.1 to 1.1.2

2

lib/big-decimal.js

@@ -54,2 +54,3 @@ "use strict";

}
number = bigDecimal.validate(number);
var len = number.indexOf('.');

@@ -92,2 +93,3 @@ len = len > 0 ? len : (number.length);

bigDecimal.round = function (number, precision) {
number = bigDecimal.validate(number);
if (!precision)

@@ -94,0 +96,0 @@ precision = 0;

2

package.json
{
"name": "js-big-decimal",
"version": "1.1.1",
"version": "1.1.2",
"description": "Work with large numbers on the client side. Round them off to any required precission.",

@@ -5,0 +5,0 @@ "main": "lib/big-decimal",

# JS Big Decimal
[![Travis](https://img.shields.io/travis/royNiladri/js-big-decimal.svg?style=flat-square)](https://travis-ci.org/royNiladri/js-big-decimal)
[![devDependencies Status](https://david-dm.org/royNiladri/js-big-decimal/dev-status.svg?style=flat-square)](https://david-dm.org/royNiladri/js-big-decimal?type=dev)
[![license](https://img.shields.io/github/license/royNiladri/js-big-decimal.svg?style=flat-square)](https://github.com/royNiladri/js-big-decimal/blob/master/LICENSE)

@@ -5,0 +6,0 @@ [![npm](https://img.shields.io/npm/v/js-big-decimal.svg?style=flat-square)](https://www.npmjs.com/package/js-big-decimal)

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