This commit is contained in:
BlazeFace 2024-10-26 07:27:31 -07:00
parent bc88da8056
commit 3eb620a44e

View File

@ -11,7 +11,7 @@ internal static class Ratio
{ {
var (div, mod) = ((int)(x / y), x % y); var (div, mod) = ((int)(x / y), x % y);
// If remainder is withing .0001 of 1 then we round up // If remainder is within .0001 of 1 then we round up
if (!(mod > 0.9999)) if (!(mod > 0.9999))
{ {
return (div, mod); return (div, mod);