Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

random numeros negativos java

long myRandomLong = (long)(Math.random() * 500 * (Math.random() > 0.5 ? 1 : -1));
 
PREVIOUS NEXT
Tagged: #random #numeros #negativos #java
ADD COMMENT
Topic
Name
8+9 =