View Single Post
  #5  
Unread 11-17-2009, 05:09 PM
gm9 gm9 is offline
gm10-1
Premium Member
EQ2Interface Super Mod
Featured
 
Join Date: Feb 2006
Posts: 6,479
Default

Quote:
Originally Posted by EQAditu View Post
Well, I could think of a fair one if we had access to a modulus operator. I don't recall us being able to do something like 3%2=1 though.
mod is but one way to go about it. You don't need much randomness either, the OP just wants a non-linear index creation for a datasource. So as long as your formula provides a value which lies is within the number of entries in the datasource that's all you need. The new math functions int(), floor()/ceil() should help.
__________________
P R O F I T U I ∙ R E B O R N [Auto-Updater] | [Portal] | [F.A.Q.] | [Support Forums]
~ Retired ~
If it does not work, you likely installed it incorrectly. Always try a clean install before reporting bugs.
Reply With Quote