mirror of
https://github.com/nsnail/spectre.console.git
synced 2025-04-14 16:02:50 +08:00
Fix typo
This commit is contained in:
parent
bc88da8056
commit
3eb620a44e
@ -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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user