Shell script variables are by default treated as strings, not numbers, which adds some complexity ... n=6/3 $ echo $n 6/3 $ declare -i n $ n=6/3 $ echo $n 2.
確定! 回上一頁