FLOOR

FLOOR (x)

Largest integer value not greater than x.

For largest integer value greater then x see CEIL(x)

print "floor(1.1)  = "; floor(1.1)
print "floor(1.5)  = "; floor(1.5)
print "floor(1.9)  = "; floor(1.9)
print "floor(-1.1) = "; floor(-1.1)
print "floor(-1.5) = "; floor(-1.5)
print "floor(-1.9) = "; floor(-1.9)
Math
If there is insufficient information on this page and you wish learn more about FLOOR, please send an email to smallbasic@gmail.com. You can help to improve information about FLOOR by submitting a pull request, click View Source for details. Note, an offline language reference text file is also available - see the Download section.