Sort:  

You get automatically a refund, if you send the wrong currency. In your case the memo was empty, thats why you got the 2 SBD back.

I still don't get the formula? I spent SBD to @boomerang, with any post link in the memo and then you upvote the linked post?! with your SP? Correct?