Re: maths





when i divide 5/2 in java i get 2.0 how can i get the exact value
2.5 , actually i want to generate random number from 0 to 1 like .
00987 , .09654 ........ pls any one reply me soon

also see http://mindprod.com/jgloss/pseudorandom.html
--

Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com
.