UNPKG

tough-rational

Version:

Rational class using BigInt with fallback to bignumber.js

4 lines (2 loc) 57 B
'use strict'; module.exports = (a, b) => a < b ? a : b;