不用工具,$(())只能做整数运算。
浮点数需要用bc.
bc设结果的小数点后位数:
https://blog.csdn.net/houzhizhen/article/details/80653347