Funky problem with the math in my calculator?

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

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
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • Javascript-Calculator

    Calculator created with Javascript (including Big.js), CSS, & HTML (by proper-show)

  • So I'm having a little trouble with my calculator that I've made. When I add a decimal to itself, it will do the math correctly, but occasionally come up with a number that is close to the right answer, but not the right answer. The example I have in the screenshot is that I'm adding pressing 1.1 then + then =. It returns 2.2 the first time I press =, 3.300000000003 the second time I press =, 4.4 the third, 5.5 the 4th, 6.6 the 5th, and finally 7.6999999999 the 6th. Whats going on here? Github Link Here

  • 0.30000000000000004

    Floating Point Math Examples

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

    InfluxDB logo
  • proposal-decimal

    Built-in decimal datatype in JavaScript

  • In the future, JavaScript will hopefully get base 10 arithmetic: https://github.com/tc39/proposal-decimal

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

  • How I use Devbox in my Elm projects

    15 projects | dev.to | 2 May 2024
  • Umbra: A Disk-Based System with In-Memory Performance [pdf]

    3 projects | news.ycombinator.com | 2 May 2024
  • Show HN: Decentralized Forum

    1 project | news.ycombinator.com | 2 May 2024
  • At Microsoft, years of security debt come crashing down

    1 project | news.ycombinator.com | 2 May 2024
  • How to Boost SEO by Enhancing HTML with Microdata

    1 project | dev.to | 1 May 2024