How to fix this damned function ???
От: Arioch  
Дата: 27.12.06 16:59
Оценка: :))) :))) :)))

Nikita Zhuk thought there might be a deeper, more fundamental lack of understanding when she came across this question posted on Experts Exchange ...

~~~
hi all,

IntTemp = Int((255 * Rnd()) + 1)


I used above ASP.NET code. Problem is in " Rnd() "
Rnd() value is changing everytime.

What is the alternative for Rnd()? OR How will stop Rnd() value changes at everytime?


http://www.experts-exchange.com/Web/Q_22031739.html


Оттуда же

A.B. discovered the source of the random failure of their billing system ...

int invoiceId = new Random().nextInt();


http://thedailywtf.com/forums/thread/103463.aspx
 
Подождите ...
Wait...
Пока на собственное сообщение не было ответов, его можно удалить.