gaboshlib/g_num_valid_number.sh aktualisiert
This commit is contained in:
parent
b554cf6c48
commit
001c61d17d
@ -5,6 +5,7 @@ function g_num_valid_number {
|
||||
if ! [[ ${f_num} =~ ^(-)?(\.)?[0-9]+(\.[0-9]+)?$ ]]
|
||||
then
|
||||
g_echo "\"${f_num}\": Not a valid number"
|
||||
g_traceback
|
||||
return 1
|
||||
fi
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user