Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

RoundDown


...

Rounds the given value down to the nearest whole number.

...

Procedure: RoundDown(Val: Double): Integer;


API Call:

Code Block
languagedelphi
titleScripting
linenumberstrue
collapsetrue
Result := RoundDown(10.36); // returns 10