How can i prove that 0.1 + 0.2 = 0.3 is there like a function or ANYTHING i can do to bypass this error which occurs in most programming languages

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

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

    Built-in decimal datatype in JavaScript

  • Decimal can be used. I developed the concept of https://stackoverflow.com/questions/54433007/number-integer-or-decimal-to-array-array-to-number-integer-or-decimal-witho is to convert integers or decimals to an array and convert an array of integers or decimals back to integer or decimal number. See also https://github.com/tc39/proposal-decimal.

  • bignumber.js

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

  • You need to use something like BigNumber.js

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

    Banned from a site or organization? Account suspended? Censored? Why? (by guest271314)

  • Most if not all of those bans should be documented here https://github.com/guest271314/banned.

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