<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://wiki.crumbledworld.com/index.php?action=history&amp;feed=atom&amp;title=Random</id>
	<title>Random - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.crumbledworld.com/index.php?action=history&amp;feed=atom&amp;title=Random"/>
	<link rel="alternate" type="text/html" href="https://wiki.crumbledworld.com/index.php?title=Random&amp;action=history"/>
	<updated>2026-04-21T23:08:41Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.4</generator>
	<entry>
		<id>https://wiki.crumbledworld.com/index.php?title=Random&amp;diff=46&amp;oldid=prev</id>
		<title>Anders: Created page with &quot;{{:RandomExampleCode}}  ==Constructor== {| class=&quot;wikitable&quot;  !|function !|description |- |Random(number seed) | |- |Random() | |- |}  ==Functions== {| class=&quot;wikitable&quot; !|return !|function !|description |- | |setSeed(int seed) |changes the seed. One seed will give the same output between different computers. |-turns a random number from 0 to max. |- |int |range(int low, int high) |Returns a random number b...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.crumbledworld.com/index.php?title=Random&amp;diff=46&amp;oldid=prev"/>
		<updated>2025-07-05T13:37:41Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{:RandomExampleCode}}  ==Constructor== {| class=&amp;quot;wikitable&amp;quot;  !|function !|description |- |Random(number seed) | |- |Random() | |- |}  ==Functions== {| class=&amp;quot;wikitable&amp;quot; !|return !|function !|description |- | |&lt;a href=&quot;/index.php?title=Random:setSeed(int_seed)&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Random:setSeed(int seed) (page does not exist)&quot;&gt;setSeed&lt;/a&gt;(int seed) |changes the seed. One seed will give the same output between different computers. |-turns a random number from 0 to max. |- |int |&lt;a href=&quot;/index.php?title=Random:range(int_low,_int_high)&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Random:range(int low, int high) (page does not exist)&quot;&gt;range&lt;/a&gt;(int low, int high) |Returns a random number b...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{:RandomExampleCode}}&lt;br /&gt;
&lt;br /&gt;
==Constructor==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
&lt;br /&gt;
!|function&lt;br /&gt;
!|description&lt;br /&gt;
|-&lt;br /&gt;
|Random(number seed)&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|Random()&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Functions==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!|return&lt;br /&gt;
!|function&lt;br /&gt;
!|description&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|[[Random:setSeed(int seed)|setSeed]](int seed)&lt;br /&gt;
|changes the seed. One seed will give the same output between different computers.&lt;br /&gt;
|-turns a random number from 0 to max.&lt;br /&gt;
|-&lt;br /&gt;
|int&lt;br /&gt;
|[[Random:range(int low, int high)|range]](int low, int high)&lt;br /&gt;
|Returns a random number between low and high, [low,high].&lt;br /&gt;
|-&lt;br /&gt;
|int&lt;br /&gt;
|[[Random:rand()|rand]]()&lt;br /&gt;
|Returns a random number between 0, 2^32&lt;br /&gt;
|-&lt;br /&gt;
|double&lt;br /&gt;
|[[Random:randFloat()|randFloat]]()&lt;br /&gt;
|Returns a random number between [0.0, 1.0]&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Anders</name></author>
	</entry>
</feed>