I can see several problems:

First, what if and are multidigit integers?

What if is zero, or has trailing zeros:

,

,

All become the same number .

Both and become 0.12

Third, what if and/or are negative?

Lastly, what if and are not integers?

--Kevin C.