sindresorhus

float-equal

Check if two floats are almost equal

by sindresorhus

JavaScript

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
WizTeam
bugClosedIssue

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

WizTeam · 8y 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.