Zero-Float Money & Currency Math Engine

Tech stack:
TS

Safe financial arithmetic engine in TypeScript. Eliminates floating-point errors by handling money as integer minor units with regex parsing, integer ...
read more
AI Contributions:0
Published At:October 23, 2026
Files Included:1 file(s)

Read Me

# Zero-Floating-Point Money & Currency Math Engine

A lightweight, high-precision financial arithmetic utility for TypeScript and JavaScript applications.

## ⚠️ The Problem with JavaScript Numbers
JavaScript numbers use IEEE-754 binary floating-point representation. This leads to subtle but catastrophic rounding errors in billing and ledger systems:
```javascript
0.1 + 0.2; // 0.30000000000000004 ❌
19.99 * 100; // 1998.9999999999998 ❌

Loading

Loading

Loading

More like this View all

Zod board ops + narration steps

Validate AI whiteboard teach steps with Zod, then apply add_text/shape/label and exclusive highlights to a scene. Safe for SVG or Excalidraw — never draw unvalidated ops.

  • 0

    Ratings

  • 4

    Files

    • TS

    Tech stack

Unclaimed librarybetter-call

a tiny web framework for typescript

  • 0

    Ratings

  • 0

    Files

    • TS

    Tech stack

Unclaimed librarybetter-fetch

Advanced fetch wrapper for TypeScript

  • 0

    Ratings

  • 0

    Files

    • TS

    Tech stack