mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-08-25 20:50:14 -05:00
SP rounded -> actually rounded not floor
This commit is contained in:
@@ -9,7 +9,7 @@ export function ordinalToSp(ordinal: number) {
|
||||
}
|
||||
|
||||
export function ordinalToRoundedSp(ordinal: number) {
|
||||
return Math.floor(ordinalToSp(ordinal));
|
||||
return Math.round(ordinalToSp(ordinal));
|
||||
}
|
||||
|
||||
function toTwoDecimals(value: number) {
|
||||
|
||||
Reference in New Issue
Block a user