UNPKG

eslint-rule-benchmark

Version:

Benchmark ESLint rules with detailed performance metrics for CI and plugin development

10 lines (9 loc) 334 B
/** * Formats a number by rounding it to the nearest integer and converting it to a * localized string. * * @param value - The number to format. If the value is not a valid number, it * returns 'N/A'. * @returns A string representation of the formatted number. */ export declare function formatNumber(value?: number): string