[AskJS] Are there numeric textbox widgets with built-in support for big numbers like decimal.js?

This page summarizes the projects mentioned and recommended in the original post on /r/javascript

SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
surveyjs.io
featured
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
  • bignumber.js

    A JavaScript library for arbitrary-precision decimal and non-decimal arithmetic

  • I'm working on a project where users will enter numbers like 9,999,999,999.99999 (up to 15 digits, up to 5 of them decimal) and we are having a problem with Numbers losing precision beyond certain number of digits (a typical issue for IEEE Standard 754 Floating Point Numbers, the 0.1 + 0.2 problem). I've solved this problem in a few projects before with the help of decimal.js or bignumber,js . In those cases, we kept user-input as strings and used a few custom-made numeric textbox widgets to accommodate this. Unfortunately, those widgets were proprietary... Now I need one again, but can't find anything. Do they exist?

  • decimal.js

    An arbitrary-precision Decimal type for JavaScript

  • I'm working on a project where users will enter numbers like 9,999,999,999.99999 (up to 15 digits, up to 5 of them decimal) and we are having a problem with Numbers losing precision beyond certain number of digits (a typical issue for IEEE Standard 754 Floating Point Numbers, the 0.1 + 0.2 problem). I've solved this problem in a few projects before with the help of decimal.js or bignumber,js . In those cases, we kept user-input as strings and used a few custom-made numeric textbox widgets to accommodate this. Unfortunately, those widgets were proprietary... Now I need one again, but can't find anything. Do they exist?

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

    SurveyJS logo
  • big-number-input

    React input component for big number values

  • I found this. Couldn't see a grouping separator option, though.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Floats Are Weird

    1 project | news.ycombinator.com | 19 Feb 2024
  • Decoding Why 0.6 + 0.3 = 0.8999999999999999 in JS and How to Solve?

    4 projects | dev.to | 16 Nov 2023
  • Front-End Dilemmas: Tackling Precision Problems in JavaScript with Decimal.js

    1 project | dev.to | 15 Sep 2023
  • Rant - Javascript should be able to do simple f**king math by now

    3 projects | /r/Frontend | 9 Jun 2023
  • Solving the "floating point precision" problem with... floats?

    2 projects | dev.to | 22 May 2023