gaboshlib/g_num_is_higher.sh aktualisiert

This commit is contained in:
olli 2023-11-03 14:57:05 +01:00
parent e08d39ec7c
commit d8a0bcc15f

View File

@ -18,7 +18,7 @@ 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
if [ $(echo "${f_num} > ${f_checkhigher}" | bc) -ne 0 ] if [ $(g_calc "${f_num} > ${f_checkhigher}") -ne 0 ]
then then
return 0 return 0
else else