User Tools

Site Tools


en:rand

Differences

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

Link to this comparison view

en:rand [2016/08/12 12:15]
admin
en:rand [2020/02/28 10:46]
Line 1: Line 1:
-===== Rand (Function) ===== 
-==== Format ==== 
-**rand**\\ 
-**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/rand.txt ยท Last modified: 2020/02/28 10:46 (external edit)