Useful Commands/Arithmetic: Difference between revisions

From Fundamental Ramen
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 1: Line 1:
{| class="wikitable"
{| class="wikitable"
! 情境 || 指令
! 🎯 Purpose || ⌨️ Command
|-
|-
| 計算整數 ||
| 計算整數 ||

Latest revision as of 02:01, 17 September 2026

🎯 Purpose ⌨️ Command
計算整數
echo $((10+5))
計算浮點數
bc <<< 'scale=3; 10/3'
bc -l <<< '10/3'