gaboshlib/g_calc.sh hinzugefügt

This commit is contained in:
olli 2023-10-31 17:28:30 +01:00
parent eeffd07384
commit 6166a25b9d

3
gaboshlib/g_calc.sh Normal file
View File

@ -0,0 +1,3 @@
function g_calc {
echo "scale=8; $@" | bc | sed 's/^\./0./; s/^-\./-0./'
}