Roulette Xtreme 2.0 - System Designer
Truncate
Identifier Index > T > Truncate

Glossary Item Box

Truncate

Format:  Truncate dest-support-action

where

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

Copyright © 2003 UX Software. All rights reserved