import formatDecimal_default from "./formatDecimal.js";
import formatPrefixAuto_default from "./formatPrefixAuto.js";
import formatRounded_default from "./formatRounded.js";
var formatTypes_default = {
	"%": (e, r) => (e * 100).toFixed(r),
	b: (e) => Math.round(e).toString(2),
	c: (e) => e + "",
	d: formatDecimal_default,
	e: (e, r) => e.toExponential(r),
	f: (e, r) => e.toFixed(r),
	g: (e, r) => e.toPrecision(r),
	o: (e) => Math.round(e).toString(8),
	p: (e, r) => formatRounded_default(e * 100, r),
	r: formatRounded_default,
	s: formatPrefixAuto_default,
	X: (e) => Math.round(e).toString(16).toUpperCase(),
	x: (e) => Math.round(e).toString(16)
};
export { formatTypes_default as default };
