GitShow/sindresorhus/float-equal
sindresorhus

float-equal

Check if two floats are almost equal

by sindresorhus
Star on GitHubForknpm

JavaScript

18 stars3 forks1 contributorQuiet · 5y agoSince 2015v3.0.0MIT

Meet the team

See all 1 on GitHub →
sindresorhus
sindresorhus9 contributions

Languages

View on GitHub →
JavaScript100%

Commit activity

Last 12 weeks · 0 commits

Full graph →

Community health

4 of 6 standards met

Community profile →
71
✓README✓License✓Contributing✓Code of Conduct○Issue Template○PR Template

Recent fixes

View closed PRs →
hustcc
2.3 + 2.4 should be equal 4.7ClosedIssue

!image

hustcc · 7y ago
WizTeam
bugClosedIssue

let a = 0.00000000000000000000001; let b = 0.00000000000000000000002; floatEqual(a, b); //true a == b; //false

WizTeam · 7y ago
Structured data for AI agents

Repository: sindresorhus/float-equal. Description: Check if two floats are almost equal Stars: 18, Forks: 3. Primary language: JavaScript. Languages: JavaScript (100%). License: MIT. Latest release: v3.0.0 (5y ago). Open PRs: 0, open issues: 0. Last activity: 5y ago. Community health: 71%. Top contributors: sindresorhus.

·@ofershap

Replace github.com with gitshow.dev