Useful Commands/Arithmetic

From Fundamental Ramen
< Useful Commands
Revision as of 02:01, 17 September 2026 by Tacoball (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
🎯 Purpose ⌨️ Command
計算整數
echo $((10+5))
計算浮點數
bc <<< 'scale=3; 10/3'
bc -l <<< '10/3'