Skip to content

afeiship/next-numeric

Repository files navigation

next-numeric

Numeric for next

install:

npm install -S afeiship/next-numeric --registry=https://registry.npm.taobao.org

usgage:

lt(x, y): is x < y (“less than”)?
le(x, y): is x ≤ y (“less or equal”)?
gt(x, y): is x > y (“greater than”)?
ge(x, y): is x ≥ y (“greater or equal”)?
eq(x, y): is x = y (“equals”)?
add(x, y)
sub(x, y)
mul(x, y)
div(x, y)
abs(x)
isNegative(x)
isPositive(x)
negate(x)

Releases

No releases published

Packages

No packages published