@leanchuck/core - v0.1.1
    Preparing search index...

    Module math

    Low-level numeric primitives shared across every leanchuck module.

    These are intentionally tiny and dependency-free so they tree-shake cleanly and can be reused (or replaced) by consumers who need different precision behavior.

    Functions

    roundTo
    toPercentage
    toPercentString
    safeDivide
    sum
    sumBy
    mean
    clamp