truncated
truncated(): Integer;
The truncated method of the Real primitive type returns an integer containing the truncated value of the receiver.
The following example shows the use of the truncated method.
vars realValue : Real; begin realValue := 340.56789; // Defines the variable value write realValue.truncated; // Outputs 340 end;