This commit is contained in:
commit
568474d52f
1591 files changed
+528213
No files matched your search
@@ -0,0 +1,7 @@
|
||||
# probe: does round() keep the sign when the result is zero? (yes: round(-0.3) is -0.0)
|
||||
def main():
|
||||
var a = -0.3
|
||||
var b = -0.5
|
||||
var c = 0.3
|
||||
var d = -0.0
|
||||
print(round(a), round(b), round(c), round(d))
|
||||
Reference in new issue
Block a user