gaboshlib/g_percentage-diff.bashfunc aktualisiert
This commit is contained in:
parent
0a86a383a5
commit
fa408ca67f
@ -3,5 +3,5 @@
|
|||||||
function g_percentage-diff {
|
function g_percentage-diff {
|
||||||
local g_from=$1
|
local g_from=$1
|
||||||
local g_to=$2
|
local g_to=$2
|
||||||
printf -- "%.2f" $(g_calc "100/$g_from*($g_to-$g_from)")
|
printf -- "%.2f" $(g_calc "100/${g_from}*(${g_to}-${g_from})")
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user