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

js-big-decimal

Package Overview
Dependencies
Maintainers
2
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.3.0 to 1.3.1

9

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

@@ -52,2 +52,3 @@ "main": "dist/node/js-big-decimal",

"chokidar-cli": "^2.1.0",
"coveralls": "^3.1.0",
"cross-env": "^7.0.2",

@@ -61,2 +62,3 @@ "del": "^5.1.0",

"jasmine-spec-reporter": "^5.0.2",
"nyc": "^15.1.0",
"terser-webpack-plugin": "^3.0.8",

@@ -69,6 +71,3 @@ "ts-node": "^8.10.2",

"false": {},
"dependencies": {
"coveralls": "^3.1.0",
"nyc": "^15.1.0"
}
"dependencies": {}
}

@@ -17,18 +17,19 @@ # JS Big Decimal

- [Installation](#installation)
- [Usage](#usage)
- [Operations](#operations)
- [bigDecimal(number)](#bigdecimalnumber)
- [getValue()](#getvalue)
- [getPrettyValue(number, digits, separator)](#getprettyvaluenumber-digits-separator)
- [round(number, precision, roundingMode)](#roundnumber-precision-roundingmode)
- [floor(number)](#floornumber)
- [ceil(number)](#ceilnumber)
- [compareTo(number1, number2)](#comparetonumber1-number2)
- [negate(number)](#negatenumber)
- [add(augend, addend)](#addaugend-addend)
- [subtract(minuend, subtrahend)](#subtractminuend-subtrahend)
- [multiply(multiplicand, multiplier)](#multiplymultiplicand-multiplier)
- [divide(dividend, divisor, precision)](#dividedividend-divisor-precision)
- [modulus(dividend, divisor)](#modulusdividend-divisor)
- [Installation](#installation)
- [Usage](#usage)
- [Operations](#operations)
- [bigDecimal(number)](#bigdecimalnumber)
- [getValue()](#getvalue)
- [getPrettyValue(number, digits, separator)](#getprettyvaluenumber-digits-separator)
- [round(number, precision, roundingMode)](#roundnumber-precision-roundingmode)
- [floor(number)](#floornumber)
- [ceil(number)](#ceilnumber)
- [compareTo(number1, number2)](#comparetonumber1-number2)
- [negate(number)](#negatenumber)
- [add(augend, addend)](#addaugend-addend)
- [subtract(minuend, subtrahend)](#subtractminuend-subtrahend)
- [multiply(multiplicand, multiplier)](#multiplymultiplicand-multiplier)
- [divide(dividend, divisor, precision)](#dividedividend-divisor-precision)
- [modulus(dividend, divisor)](#modulusdividend-divisor)
- [Support the developers :heart: :star: :money_with_wings:](#support-the-developers-heart-star-money_with_wings)

@@ -240,2 +241,10 @@ <!-- END doctoc generated TOC please keep comment here to allow auto update -->

```
Further, the result takes the sign of the dividend and the sign of the divisor is ignored. Note that this behaviour is the same as in Java and JavaScript.
Further, the result takes the sign of the dividend and the sign of the divisor is ignored. Note that this behaviour is the same as in Java and JavaScript.
# Support the developers :heart: :star: :money_with_wings:
If this library helps you in your organization, you can show some love by giving the repo a star or support by making a nominal monetary contribution.
| <img src="https://github.githubassets.com/images/icons/emoji/unicode/1f375.png" width="45px" alt="Tea" style="vertical-align: middle"> <br> $ 1.99 <br> <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=Z55C4Y6K6AYWJ&os0=Tea"><img src="https://www.paypalobjects.com/en_GB/i/btn/btn_paynowCC_LG.gif" alt="Paypal Pay Now"/></a> | <img src="https://github.githubassets.com/images/icons/emoji/unicode/2615.png" width="45px" alt="Coffee" style="vertical-align: middle"> <br> $ 2.99 <br> <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=Z55C4Y6K6AYWJ&os0=Coffee"><img src="https://www.paypalobjects.com/en_GB/i/btn/btn_paynowCC_LG.gif" alt="Paypal Pay Now"/></a> | <img src="https://github.githubassets.com/images/icons/emoji/unicode/1f354.png" width="45px" alt="Burger" style="vertical-align: middle"> <br> $ 4.49 <br> <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=Z55C4Y6K6AYWJ&os0=Burger"><img src="https://www.paypalobjects.com/en_GB/i/btn/btn_paynowCC_LG.gif" alt="Paypal Pay Now"/></a> | <img src="https://github.githubassets.com/images/icons/emoji/unicode/1f355.png" width="45px" alt="Dinner" style="vertical-align: middle"> <br> $ 9.99 <br> <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=Z55C4Y6K6AYWJ&os0=Dinner"><img src="https://www.paypalobjects.com/en_GB/i/btn/btn_paynowCC_LG.gif" alt="Paypal Pay Now"/></a> |
|--|--|--|--|
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