小编San*_*J R的帖子

我怎样才能得到两个数字的绝对差?

是否有任何 bash/shell 命令来获得两个数字的绝对差异?例如。-

-10 and -5 is 5, -10 and 10 is 20, 7 and 21 is 14& 的绝对差异100 and -11 is 111。

或者有什么解决方法可以找到它?请帮忙。

python bash shell awk

1
推荐指数
1
解决办法
6332
查看次数

标签 统计

awk ×1

bash ×1

python ×1

shell ×1