improve comment

This commit is contained in:
Luc Mcgrady 2025-05-23 15:18:20 +01:00
parent 65a31b7b95
commit c709cef165
No known key found for this signature in database
GPG key ID: 4F3D7A0B17CC3D9C

View file

@ -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);