bc
scale=3(设置小数位)
yyb@ubuntu:~$ bc
bc 1.06.95
Copyright 1991-1994, 1997, 1998, 2000, 2004, 2006 Free Software Foundation, Inc.
This is free software with ABSOLUTELY NO WARRANTY.
For details type `warranty'.
8/4
2
scale=3
8/7
1.142
quit(退出计算器)