4 lines
56 B
Bash
4 lines
56 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
echo "scale=2;${1}+((${2}-${1})/2.0)" | bc
|