gaboshlib/g_num_is_between.sh aktualisiert
This commit is contained in:
parent
90fe1a79df
commit
b554cf6c48
@ -29,7 +29,7 @@ function g_num_is_between {
|
||||
g_num_valid_number "$f_num" "$f_between1" "$f_between2" || return 1
|
||||
|
||||
# Check which is the low (from) and the high (to) number
|
||||
if [ $(echo "${f_between1} < ${f_between2}" | bc -l) -ne 0 ]
|
||||
if [ $(g_calc "${f_between1} < ${f_between2}") -ne 0 ]
|
||||
then
|
||||
local f_from=${f_between1}
|
||||
local f_to=${f_between2}
|
||||
|
Loading…
Reference in New Issue
Block a user