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:
parent
9cc6ca66e8
commit
6e287280a4
1 changed files with 1 additions and 0 deletions
|
@ -5,6 +5,7 @@ function toLocaleStringSupportsOptions() {
|
||||||
/**
|
/**
|
||||||
* Gets the value of a number formatted as a perentage.
|
* Gets the value of a number formatted as a perentage.
|
||||||
* @param {number} value The value as a number.
|
* @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.
|
* @returns {string} The value formatted as a percentage.
|
||||||
*/
|
*/
|
||||||
export function toPercent(value: number | null | undefined, locale: string): string {
|
export function toPercent(value: number | null | undefined, locale: string): string {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue