Clear Up
SharpKit Reference

JsMath.random Method

Returns a pseudorandom number between 0 and 1.

Namespace: SharpKit.JavaScript

Class: JsMath


public static JsNumber random()

Return Value

Type: SharpKit.JavaScript.JsNumber
The pseudorandom number generated is from 0 (inclusive) to 1 (exclusive), that is, the returned number can be zero, but it will always be less than one.
© Copyright 2005-2011 SharpKit. All rights reserved.