Floor

Category: Math

Back to System Functions


Signature

Floor(value As Double)

Returns

Integer

Description

Rounds the value down to the next whole integer.

Example

tileX = Floor(playerX / 32)