Skip to content
@teakit/arith documentation

@teakit/arith

Arbitrary-precision decimal arithmetic.

Overview

Use @teakit/arith for arbitrary-precision decimal arithmetic. Start with a string such as Arith.from("0.1") to preserve the exact input, then use decimal methods to calculate, compare, round, or format the result.

Get started

Decimal addition — Add decimal quantities while preserving their input precision.

Arith repository and README