As I said above you may use bc
to perform arithmetic operations. And likely, this would be the best solution because bash itself can only do integer math.
Neverneless if you wish to get integer and fractional parts of a float number you may use the following code:
a=123.456 # an example
a_int=${a%.*}
a_fr=${a#*.}
In your example each "group" is representing as a single argument, that is:
print_args() {
for a in "$@"; do
echo "arg=\"$a\""
done
}
print_args 9.37 / 7.21
will print
arg="9.37"
arg="/"
arg="7.21"