Skip to content

Functions based on human readable format #172

@Seddryck

Description

@Seddryck
  • human-readable-format-decimal(int precision): Format a number in human-readable SI format. For example, 1048576 | Human-readable-format-decimal returns 1.04 M. precision must be in the range of [0, 3] (default: 2).
  • human-readable-format-decimal-bytes(int precision): Format a number in human-readable SI format. For example, 1048576 | Human-readable-format-decimal returns 1.04 MB. precision must be in the range of [0, 3] (default: 2).
  • human-readable-format-binary-bytes(int precision): Format a number in human-readable SI format. For example, 1048576 | Human-readable-format-decimal returns 1.00 MiB. precision must be in the range of [0, 3] (default: 2).

Metadata

Metadata

Assignees

No one assigned

    Labels

    new-featureRequest for a new feature in the tool

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions