kOS-scripts/lib/util.ks
Casper V. Kristensen 804455c125
Fix file permissions.
2019-02-07 22:10:16 +01:00

9 lines
125 B
Plaintext

@LAZYGLOBAL OFF.
function round_towards_zero {
parameter n.
if n < 0 return ceiling(n).
return floor(n).
}