Change rounding to use a more general flooring approach

This commit is contained in:
Dean Herbert
2021-03-26 13:06:30 +09:00
parent 77888ae640
commit 6a7f926168
2 changed files with 7 additions and 4 deletions

View File

@ -12,7 +12,7 @@ namespace osu.Game.Tests.NonVisual
[TestCase(0, "0.00%")]
[TestCase(0.01, "1.00%")]
[TestCase(0.9899, "98.99%")]
[TestCase(0.989999, "99.00%")]
[TestCase(0.989999, "98.99%")]
[TestCase(0.99, "99.00%")]
[TestCase(0.9999, "99.99%")]
[TestCase(0.999999, "99.99%")]