# @types/float-equal

> TypeScript definitions for float-equal

Latest version **3.0.3** (published 2024-10-04) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/float-equal
pnpm add @types/float-equal
yarn add @types/float-equal
bun add @types/float-equal
```

## Health

**Score 60/100 (C)** — status: stable.

Positive: has types; esm support; no vulnerabilities; high maintenance score; popular repo; extremely popular.

Warnings: low downloads.

Negative: stale.

## Facts

| | |
|---|---|
| Version | 3.0.3 |
| Published | 2024-10-04 |
| First published | 2019-11-07 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM |
| Dependencies | 0 |
| Unpacked size | 2.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51451 |
| Maintainers | types |

## Links

- npm: https://www.npmjs.com/package/@types/float-equal
- Repository: https://github.com/DefinitelyTyped/DefinitelyTyped
- Homepage: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/float-equal
- npm.io page: https://npm.io/package/@types/float-equal

## Recent versions

- 3.0.3 (latest) — 2024-10-04
- 3.0.2 (ts4.7) — 2023-11-07
- 3.0.0 (ts3.9) — 2021-05-27
- 2.0.0 (ts3.3) — 2019-11-07
- 3.0.1 — 2023-10-18

## README

# Installation
> `npm install --save @types/float-equal`

# Summary
This package contains type definitions for float-equal (https://github.com/sindresorhus/float-equal#readme).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/float-equal.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/float-equal/index.d.ts)
````ts
/**
 * Check if two floats are almost equal
 */
declare function floatEqual(a: number, b: number): boolean;

export default floatEqual;

````

### Additional Details
 * Last updated: Fri, 04 Oct 2024 16:42:27 GMT
 * Dependencies: none

# Credits
These definitions were written by [Dolan Murvihill](https://github.com/dmurvihill).

---
_Source: https://npm.io/package/@types/float-equal · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
