Pascal Scripting: Round

Prototype:

function Round(const E: Extended): Int64;

Description:

Returns the value of E rounded to the integer number.

Remarks:

If E is exactly halfway between two integer numbers, the result is always the even number. This method of rounding is often called "Banker's rounding."