truncated64

truncated64(): Integer64;

The truncated64 method of the Real primitive type returns a 64-bit integer containing the truncated value of the receiver.

The following example shows the use of the truncated64 method.

vars
    realValue : Real;
begin
    realValue := 340.56789;             // Defines the variable value
    write realValue.truncated64;        // Outputs 340
end;