-
-
Save mokomokohituji/42e96fb372d52083164430ceb1558d62 to your computer and use it in GitHub Desktop.
int型からdouble型に変換されない
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Main { | |
public static void main(String[] args) { | |
int a = 13; | |
a /= 5; | |
//出力結果は2 | |
System.out.println(a); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment