User Tools

Site Tools


en:seed

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

en:seed [2016/09/08 12:23]
admin created
en:seed [2020/02/28 10:46]
Line 1: Line 1:
-===== Seed (Statement) ===== 
-==== Format ==== 
-**seed**\\ 
-**rand** ( ) 
  
-returns [[floatexpressions|float_expression]] 
- 
-==== Description ==== 
-Returns a random number between 0 and 1.  The distribution of the values is uniform. 
-==== Note ==== 
-To produce random numbers between other values, simple multiply or add the appropriate numbers.  For example, to generate an integer between 0 and 10, use int(rand * 10). 
- 
-==== See Also ==== 
-{{page>en:start#Mathematics&noheader}} 
- 
-==== History ====  
-||| 
en/seed.txt ยท Last modified: 2020/02/28 10:46 (external edit)