Module fmt_util

Source
Expand description

Common formatting helpers

Functionsยง

binary_prefix
Find the smallest binary prefix with which the whole part of x is at most three digits, and return the scaled x, that prefix, and the associated base-1024 exponent.