Thread
:
What does this line of code mean?
View Single Post
#
1
(
permalink
)
11-23-2007, 10:24 PM
naxalyte
Member
Join Date: Nov 2007
Posts: 4
What does this line of code mean?
Could someone please explain why in the following line of code, int is used within brackets after the equals sign?
Code:
int x = (int)((width/2) + (0.5-Math.random())*width);
Sponsored Links
naxalyte
View Public Profile
Send a private message to naxalyte
Find all posts by naxalyte