1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-10 12:32:20 +02:00

Fixed rounding

This commit is contained in:
Brian Fiete 2020-04-28 09:57:32 -07:00
parent 3a332a0bcf
commit d79a7b76b4

View file

@ -65,10 +65,11 @@ namespace System
}
else
{
// On X86 this can be inlined to just a few instructions
// On X86 this can be inlined to just a few instructions
curValue = Round(curValue);
}
curValue /= power10;
return curValue;
}
return value;
}
@ -90,10 +91,11 @@ namespace System
}
else
{
// On X86 this can be inlined to just a few instructions
// On X86 this can be inlined to just a few instructions
curValue = Round(curValue);
}
curValue /= power10;
return curValue;
}
return value;
}