This returns the largest integer smaller than or equal to the value. This will always return the same value as int(. It will return the same value as iPart( if the input is positive.


:floor(1)    gives 1
:floor(1.2)  gives 1
:floor(-1)   gives -1
:floor(-1.2) gives -2

Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.