Deprecated
(will be removed after 0.170.0) use FormatOptions
instead
import { type bytes } from "https://deno.land/x/hex@0.6.5/src/lib/stdx/fmt.ts";
const { PrettyBytesOptions } = bytes;
Properties
Uses localized number formatting. If it is set to true, uses default locale on the system. If it's set to string, uses that locale. The given string should be BCP 47 language tag (ref: https://en.wikipedia.org/wiki/IETF_language_tag). You can also give the list of language tags.
The minimum number of fraction digits to display. If neither minimumFractionDigits or maximumFractionDigits are set, the default behavior is to round to 3 significant digits.