Skip to content
Advertisement

How to divide 2 integers without using / operator in SQL Server? [closed]

How can I divide two integers without using the / operator?

Thank you so much for the help in advance. I will explain why this question -i just get hired and of course they test me with this school question. Thank you I make in sql server using / divide operator in 2 ways in few minutes but without / i really don t know. Thank you

Advertisement

Answer

sign(a*b) * exp(log(abs(a)) - log(abs(b)))
User contributions licensed under: CC BY-SA
2 People found this is helpful
Advertisement