unset old result
This commit is contained in:
parent
02be716591
commit
0b2da67759
@ -3,6 +3,7 @@
|
||||
function g_percentage-diff {
|
||||
local g_from=$1
|
||||
local g_to=$2
|
||||
unset g_percentage_diff_result
|
||||
g_num_valid_number "$g_from" "$g_to" || return 1
|
||||
g_calc "${g_from} == 0"
|
||||
[ ${g_calc_result} -eq 1 ] && return 1
|
||||
|
Loading…
Reference in New Issue
Block a user