mirror of
https://github.com/ankitects/anki.git
synced 2026-01-13 22:13:58 -05:00
improve comment
This commit is contained in:
parent
65a31b7b95
commit
c709cef165
1 changed files with 1 additions and 1 deletions
|
|
@ -108,7 +108,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
}
|
||||
|
||||
/**
|
||||
* @param percent passed as a whole number, e.g 100% = 100
|
||||
* @param percent passed * 100, e.g 100% = 100
|
||||
*/
|
||||
function roundPercentage(percent: number) {
|
||||
const absPercent = Math.abs(percent);
|
||||
|
|
|
|||
Loading…
Reference in a new issue