gaboshlib/g_num_is_higher.sh aktualisiert
This commit is contained in:
parent
08fc39b7cb
commit
3ade97eea1
@ -18,8 +18,6 @@ function g_num_is_higher {
|
|||||||
# Check for valid number
|
# Check for valid number
|
||||||
g_num_valid_number "$f_num" "$f_checkhigher" || return 1
|
g_num_valid_number "$f_num" "$f_checkhigher" || return 1
|
||||||
|
|
||||||
# Check which is the low (from) and the high (to) number
|
|
||||||
# Check if given number is in or out range
|
|
||||||
if [ $(echo "${f_num} > ${f_checkhigher}" | bc) -ne 0 ]
|
if [ $(echo "${f_num} > ${f_checkhigher}" | bc) -ne 0 ]
|
||||||
then
|
then
|
||||||
return 0
|
return 0
|
||||||
|
Loading…
Reference in New Issue
Block a user