gaboshlib/g_num_is_lower.sh aktualisiert

This commit is contained in:
olli 2023-11-03 14:57:32 +01:00
parent d8a0bcc15f
commit 09d1d8b518

View File

@ -18,7 +18,7 @@ function g_num_is_lower {
# Check for valid number
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
return 0
else