double computerChoiceDouble = Math.floor(Math.random() * 3); int computerChoiceInt = (int)computerChoiceDouble;
실수->정수