mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-07 13:41:26 -07:00
parent
1f42ab8c4f
commit
9f36b54b04
11 changed files with 240 additions and 0 deletions
|
@ -76,6 +76,10 @@ function friendlyPercentage(value) {
|
|||
return percentage.toFixed(1) + "%";
|
||||
}
|
||||
|
||||
function friendlyFloat(value, precision) {
|
||||
return parseFloat(value).toFixed(precision);
|
||||
}
|
||||
|
||||
/*
|
||||
* From: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue