Statement: Action, Type: Initial
Round
Format: Round dest-support-action
where
-
dest-support-action = the valid destination supporting action identifiers listed below:
Description
The Round identifier will read the dest-support-action identifier and perform a mathematical round function to the nearest whole number and store the new value to the record data.
- data 1.3 rounded will be 1
- data 1.6 rounded will be 2
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. Round the data to the nearest whole number and place that data to red. The following example will perform this task.
RX Script | ![]() |
---|---|
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 Round Record "red bet" Data put 100% of record "red bet" data to red end |