Basenumber.js

A BigDecimal library for arbitrary precision that allows you to work with numbers in different bases from 2 to 36. (by AlexSp3)

Basenumber.js Alternatives

Similar projects and alternatives to Basenumber.js

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better Basenumber.js alternative or higher similarity.

Basenumber.js reviews and mentions

Posts with mentions or reviews of Basenumber.js. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-09-09.
  • 0.1 + 0.2 is not 0.3 in JavaScript.
    3 projects | /r/javascript | 9 Sep 2021
    That's because every number in JavaScript is represented using 64 bits floating point. Since numbers are saved in binary, there are some decimal numbers that are periodics in binary but not in decimal, e.g. 0.2, equivalent to 0.00110011001100110011... in bin. You can avoid this using some BigDecimals libraries like decimal.js, or, if you need to work in different bases, you have Basenumber.js

Stats

Basic Basenumber.js repo stats
1
7
0.0
about 2 years ago

AlexSp3/Basenumber.js is an open source project licensed under MIT License which is an OSI approved license.

The primary programming language of Basenumber.js is JavaScript.


Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com