> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:flashcoders-
> [EMAIL PROTECTED] On Behalf Of Chris Benjaminsen
> Sent: Friday, November 03, 2006 5:42 AM
> To: Flashcoders mailing list
> Subject: Re: [Flashcoders] OT conver java code to flash
> 
> Hi Paul
> 
> Actually Math.random always return a positive number between 0 and 1
> [...]

Strictly speaking, it returns a *nonnegative* number from 0 (inclusive)
to 1 (exclusive). I.e, once in a blue moon it might actually return 0,
but it will never return 1; 0.99999 (or something like that) is as close
as it gets.

The distinction doesn't matter much in practice, but....
―
Mike Keesey


_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to