How do you deal with floats in production apps?

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

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
  • 0.30000000000000004

    Floating Point Math Examples

  • This is not a problem with JS. It’s just about how computers math works. Take a look this https://0.30000000000000004.com/

  • bigint-money

    A Money class for high precision calculations using the ESnext bigint type.

  • I wrote a hella fast money library for Javascript that uses bigint under the hood: https://github.com/evert/bigint-money

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