GeoLeaf Core API - v3.0.0
    Preparing search index...
    • Formats a byte count with the largest unit that keeps it readable (B, KB, MB, GB).

      Use toMB or toGB when the unit must be fixed — a table column whose rows must stay comparable, for instance.

      Parameters

      • bytes: number | null | undefined
      • options: FormatFileSizeOptions = {}

      Returns string