I get different numbers. I think there is no bug, everything works like expected.. (for me)

Great! And you can still accomplish what you'd like to do, I hope? Crisis averted?
 
 
 By the way, I've noticed that Std.srand dont like double integers..

Could you be a bit more specific? This sounds like there might be a real issue after all.

Kas.