diff --git a/gaboshlib/g_num_is_lower.sh b/gaboshlib/g_num_is_lower.sh index f5792f8..03c4e82 100644 --- a/gaboshlib/g_num_is_lower.sh +++ b/gaboshlib/g_num_is_lower.sh @@ -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