Skip to content

Commit

Permalink
Update web/ui_utils.js
Browse files Browse the repository at this point in the history
Co-authored-by: Jonas Jenwald <jonas.jenwald@gmail.com>
  • Loading branch information
nicolo-ribaudo and Snuffleupagus authored Jun 18, 2024
1 parent 22dcc96 commit c608025
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web/ui_utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -308,8 +308,8 @@ function approximateFraction(x) {
}

/**
* @param {number} x A positive number to round to a multiple of `div`
* @param {number} div A natural number
* @param {number} x - A positive number to round to a multiple of `div`.
* @param {number} div - A natural number.
*/
function floorToDivide(x, div) {
return x - (x % div);
Expand Down

0 comments on commit c608025

Please sign in to comment.