Patched a casting error in round

This commit is contained in:
2023-02-27 23:27:11 +11:00
parent c5c0122243
commit efc1e764d2
2 changed files with 4 additions and 2 deletions

View File

@@ -96,6 +96,8 @@ import standard;
var x = 4.1;
assert x.round() == 4, "var.round() failed";
assert typeof round(1.0) == int, "typeof round() == int failed";
}