import e from "./formatDecimal.js";
import t from "./formatPrefixAuto.js";
import n from "./formatRounded.js";
//#region ../../node_modules/d3-format/src/formatTypes.js
var r = {
	"%": function(e, t) {
		return (e * 100).toFixed(t);
	},
	b: function(e) {
		return Math.round(e).toString(2);
	},
	c: function(e) {
		return e + "";
	},
	d: e,
	e: function(e, t) {
		return e.toExponential(t);
	},
	f: function(e, t) {
		return e.toFixed(t);
	},
	g: function(e, t) {
		return e.toPrecision(t);
	},
	o: function(e) {
		return Math.round(e).toString(8);
	},
	p: function(e, t) {
		return n(e * 100, t);
	},
	r: n,
	s: t,
	X: function(e) {
		return Math.round(e).toString(16).toUpperCase();
	},
	x: function(e) {
		return Math.round(e).toString(16);
	}
};
//#endregion
export { r as default };

//# sourceMappingURL=formatTypes.js.map