JSPM

  • Created
  • Published
  • Downloads 206558
  • Score
    100M100P100Q26628F
  • License unlicensed

Micro math methods: isBetween, between, getPrecition, toPrecision

Package Exports

  • mumath
  • mumath/between
  • mumath/is-between
  • mumath/round
  • mumath/wrap

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (mumath) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Common math functions aware of objects and arrays.

  • min(a,b)
  • max(a,b)
  • between(a,min,max)
  • isBetween(a,min,max)
  • toPrecision(a)
  • getPrecision(a)