1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Update toPercent docs with locale

This commit is contained in:
Bill Thornton 2022-10-17 01:09:37 -04:00
parent 9cc6ca66e8
commit 6e287280a4

View file

@ -5,6 +5,7 @@ function toLocaleStringSupportsOptions() {
/**
* Gets the value of a number formatted as a perentage.
* @param {number} value The value as a number.
* @param {string} locale The locale to use for formatting (i.e. en-us).
* @returns {string} The value formatted as a percentage.
*/
export function toPercent(value: number | null | undefined, locale: string): string {