gaboshlib/g_percentage-diff.bashfunc aktualisiert
This commit is contained in:
parent
658d99f867
commit
0a86a383a5
@ -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 $(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