animation/calculate_center.sh

4 lines
56 B
Bash
Raw Normal View History

2022-11-14 03:36:25 +00:00
#!/bin/bash
echo "scale=2;${1}+((${2}-${1})/2.0)" | bc