Statement: Action, Type: Initial
Truncate
Format: Truncate dest-support-action
where
-
dest-support-action = the valid destination supporting action identifiers listed below:
Description
The Truncate identifier will read the dest-support-action identifier and perform a mathematical truncate function to the lowest whole number and store the new value to the record data.
- data 1.3 truncated will be 1
- data 1.6 truncated will be 1
Example
Every time red has appeared, we add 0.3 to the record bet data. Then we copy the data to the record red bet data. Truncate the data to the lowest whole number and place that data to red. The following example will perform this task.
| RX Script | Copy Code |
|---|---|
if red has hit each time
begin
add 0.3 to record "bet" data
put 100% of record "bet" data to record "red bet" data
Truncate Record "red bet" Data
put 100% of record "red bet" data to red
end
|
|