Functional Weave
Code in TypeScript

Tagged arithmetic

3 capabilities

money.add
Add, subtract and negate monetary amounts, refusing to mix currencies.
addMoney in TypeScript
math.rational
Exact fraction arithmetic, always reduced, for rates and ratios that must not drift.
A group of 8: calculateRational, rational, addRational, subtractRational, multiplyRational, divideRational, compareRational, rationalToInteger