Calculating value of a short position in a fixed income security.

For valuing the long you subtract the dividends, but for short so you add dividends to the spot??

Can I get a formula for valuing this please?