Formats 0-10 score into human-readable string ("Not Rated" or "{score}/10").
The score value (0-10).
Formatted score string.
export function formatScore(score: number): string { if (score === 0) { return "Not Rated"; } return `${score}/10`;} Copy
export function formatScore(score: number): string { if (score === 0) { return "Not Rated"; } return `${score}/10`;}
Formats 0-10 score into human-readable string ("Not Rated" or "{score}/10").