gaboshlib/g_num_is_between.sh aktualisiert
This commit is contained in:
parent
09c821e824
commit
e08d39ec7c
@ -38,7 +38,7 @@ function g_num_is_between {
|
||||
local f_to=${f_between1}
|
||||
fi
|
||||
# Check if given number is in or out range
|
||||
if [ $(echo "${f_num} < ${f_from}" | bc -l) -ne 0 ] || [ $(echo "${f_num} > ${f_to}" | bc -l) -ne 0 ]
|
||||
if [ $(g_calc "${f_num} < ${f_from}") -ne 0 ] || [ $(g_calc "${f_num} > ${f_to}") -ne 0 ]
|
||||
then
|
||||
return 1
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user