flr x

```
Returns the closest integer below x
flr(-0.3) returns -1.0
[u]Same as (x%1) for positive values of x[/u]
```

print(flr(1.3)) --> 1

print(1.3%1) --> 0.3

`Same as ([b]x - x%1[/b]) for positive values of x`

This should be corrected in the manual.

P#18337 2016-01-17 15:35 ( Edited 2016-01-18 11:57)

[Please log in to post a comment]