Skip to content

Commit

Permalink
round all values
Browse files Browse the repository at this point in the history
  • Loading branch information
mirpedrol committed Jun 20, 2023
1 parent b94c243 commit eb0a10b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ $(function() {
unit_index--;
}

return value + units[unit_index];
return Math.floor(value) + units[unit_index];
}

// Humanize duration
Expand Down

0 comments on commit eb0a10b

Please sign in to comment.