計算する

bcコマンドを使う

# bc   ←bcコマンド実行
bc 1.06
Copyright 1991-1994, 1997, 1998, 2000 Free Software Foundation, Inc.
This is free software with ABSOLUTELY NO WARRANTY.
For details type `warranty'.
1+3   ←計算式入力
4     ←結果表示

quit
最終更新:2014年02月22日 21:36