Files
pplus-library/mojo/probes/float-round.mojo
T
alexm 568474d52f
Test (in pplus-core) / in-core (push) Failing after 28m44s
Initial commit
2026-11-12 22:23:48 -05:00

7 lines
142 B
Mojo

# probe: what does round() do on halves?
def main():
var a = 2.5
var b = 3.5
var c = -2.5
print(round(a), round(b), round(c))