API
Version 4.0.0-preview.5
3.4.7
4.0.5
4.1.3
4.2.5
4.3.7
Development
Download Haxe
Learn Haxe
Introduction
Manual
Code Cookbook
API Documentation
Videos
Try Haxe online
Haxelib
Connect
Github
Bug reports
Stack Overflow
Forums
Discord
Gitter
Blog
Facebook
#haxe
@haxelang
@haxe_org
Contact
All Platforms
python
php
flash
lua
hl
neko
js
cpp
cs
macro
java
View source
class
Random
package
cpp
Available on cpp
Constructor
new
()
Methods
float
():
Float
int
(
max:
Int
):
Int
setSeed
(
s:
Int
):
Void