Divide a positive or negative decimal value

Perhaps you find inspiration here: