float a = 2 / 5; /* a = 0 */ float b = (float)2 / (float)5; /* a = 0.4 */
タグ:
このサイトはreCAPTCHAによって保護されており、Googleの プライバシーポリシー と 利用規約 が適用されます。