truncated64
truncated64(): Integer64;
The truncated64 method of the Decimal primitive type returns a signed 64-bit integer containing the truncated value of the receiver.
The following example shows the use of the truncated method.
testDecimal(); vars decimalValue : Decimal [12,4]; begin decimalValue := 340.5678; // Defines the variable value decimalValue := (decimalValue / 20).truncated64; write decimalValue; // Outputs 17.0000 end;