/**
 * @copyright Sister Software
 * @license AGPL-3.0
 * @author Teffen Ellis, et al.
 */
/**
 * Format a quantity for display.
 */
export const formatQuantity = (quantity) => {
    return quantity.toLocaleString("en-US", {
        maximumFractionDigits: 2,
    });
};
/**
 * Format a duration for display.
 */
export const formatMinutes = (minutes) => {
    return minutes.toLocaleString("en-US", {
        maximumFractionDigits: 2,
    });
};
//# sourceMappingURL=locale.js.map