Roulette Xtreme 2.0 - System Designer
Round
Identifier Index > R > Round

Glossary Item Box

Round

Format:  Round dest-support-action

where

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 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

    Round Record "red bet" Data

    put 100% of record "red bet" data to red
end

Copyright © 2003 UX Software. All rights reserved