prorm API Reference
    Preparing search index...

    Function format

    • Format a number to a fixed number of decimal places.

      Named format (not re-exported by './date', see note there) so this is the canonical utils.format for numeric formatting.

      Parameters

      • value: number
      • decimals: number = 2

      Returns string