Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
8 lines (7 sloc) 184 Bytes
int a = 3/2;
println(a); // 1と出力
float b = 3/2;
println(b); // 1.0と出力
float c = 3.0/2.0;
println(c); // 1.5と出力
int d = 3.0/2.0; // エラー