That line rounds a random number to the nearest whole number so I do not get a random number that is in a decimal form.
Type: Posts; User: ericgomez
That line rounds a random number to the nearest whole number so I do not get a random number that is in a decimal form.
This code does only dividing numbers with decimals.
double number4 = Math.floor(Math.random() * 13);
JOptionPane.showMessageDialog(null,number4,null,JOptionPane.
INFORMATION_MESSAGE);...
How do I get numbers to divide themselves with no remainders?