Closed ghost closed 3 years ago
num ⇒ int
Returns the largest integer int that is not greater than num.
This is not true it does not returns int. And it is same of trunc.
int
trunc
You are right, and ceil returns a float as well... I'll fix it in the next release.
Fixed in v0.29.0
floor
num ⇒ int
Returns the largest integer int that is not greater than num.
This is not true it does not returns
int
. And it is same oftrunc
.