1.0.7 • Published 4 years ago

@darkwolf/numeral v1.0.7

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

Numeral

Install

npm i --save @darkwolf/numeral

Using

⚠️ Requires Node.js v12.x LTS or higher to use!

import Numeral from '@darkwolf/numeral'

const number = new Numeral(1024)
  .add(512) // 1536
  .subtract(256) // 1280
  .multiply(128) // 163840
  .divide(64)
number.value // 2560
const other = number
  .clone()
  .subtract(2048)
number.value // 2560
other.value // 512
const sum = number + other // 3072

API Documentation

Donate

You can contribute to the development of open source projects by making your donation 🐺

Bitcoin (BTC): 15sjjAUtJdB1ncsxKK7KtyJPtF46UhXWo4

Ethereum (ETH): 0xF02F68eb33E9eC73b8E9c3c0953E6782E2376867

Bitcoin Cash (BCH): qq6h3a78h3wlt04eyp9ydht94r6guzjdps9hqwgfzw

Contact Me

GitHub: @PavelWolfDark

Telegram: @PavelWolfDark

Email: PavelWolfDark@gmail.com

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago