@numio/bigmath
Version:
@numio/bigmath is an arbitrary-precision arithmetic library. It can be used for basic operations with decimal numbers (integers and float)
7 lines (6 loc) • 320 B
JavaScript
import { s2bi } from "../shared/utils.js";
import { isLeftGreaterOrEqualInner } from "./utils.js";
/** This function returns if left value is greater than right value or equal*/
export const isLeftGreaterOrEqual = ({ left, right }) => {
return isLeftGreaterOrEqualInner({ left: s2bi(left), right: s2bi(right) });
};