SYNTAX

<Decimal>.truncate

Truncates "this" Decimal value to an integer by removing the fractional portion.

The Operators row in the table of Summary Table of Vocabulary Usage Restriction applies. No special exceptions.

This sample Rulesheet uses .truncate to produce the integer value of decimal1 and assign it to integer1

A sample Ruletest provides decimal1 values for two scenarios. Input and Output panels are shown below.