Rounds a float to the next lowest integer. This differs from Trunc when using negative numbers: Trunc(-1.6) is -1 but Floor(-1.6) is -2.
class function Floor(const Value: Single): Integer; static;
Parameters |
Description |
const Value: Single |
the value to floor. |
Value rounded to the next lowest integer.
Copyright (c) 2012. All rights reserved.
|