Rant - Javascript should be able to do simple f**king math by now

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

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • decimal.js

    An arbitrary-precision Decimal type for JavaScript

  • I too wish JS had a dedicated Decimal Type, but there is plenty of 3rd party libraries available like decimal.js

  • js-floating-point

    Dead-simple and lightning-fast solution for the floating-point issue in JavaScript

  • (Btw. my current one is just this function https://github.com/maslianok/js-floating-point/blob/master/src/index.js that i copied into our source).

  • 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
  • proposal-decimal

    Built-in decimal datatype in JavaScript

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