Is there a formula such that n/d=0 where d=0? I was resolving some division by zero errors (which can easily be done in code by checking if the denominator is zero) and got to wondering whether there is a mathematical formula that replicates division such that a denomiator of zero returns zero. Is such a thing possible?

It seems like there should be a way to invert the calcaultion and use d/n to get zero (where d = 0) then do some type of multiplcation to get back to the same as n/d. I don;t know where I'm going with this. I doubt there is a practical use for this, but I just got curious if it is possible to do essentially the equivalent of n/d where d is never a denominator. Any thoughts?