相除取整數及餘數C# -VB div mod. int a = 5; int b = 3; int div = a / b; //div is 1 int mod = a % b; //mod is 2. rabinsonlai 於 上午2:27.
確定! 回上一頁