I recently came across the following example of a function which is discontinuous at a point:
The cost of a sushi buffet is calculated by weighing your plate, where you are then charged £10 per pound. As part of a promotion, if you manage to fill your plate so that the weight is precisely 1lbs, you get your meal for free.
This is a nice way to motivate a function like $$f(x) = \begin{cases}10\,x\hfil&\text{$x\neq 1$}\\\hfil0\hfil&\text{$x=1$}\end{cases}$$ which are nice for illustrating the idea of a limit to students.
Are there any other real-world examples of functions like this, for the sake of explaining limits? Ideally one where you would actually want the limiting value, and not the assigned value, to motivate the concept further. (Apart from the obvious difference quotient.)

Suppose there is a carpark that charges \$5 (Singapore dollars) for the first hour and then \$1 for every subsequent half-hour, including parts of half-hours. Thus if you parked for $2.5-\epsilon$ hours you would pay \$8, but parking for $2.51$ hours would incur \$9. $$f(x)=5+\max(0,\lfloor2x-1\rfloor)$$ This function is discontinuous at infinitely many points.
For a two-sided limit, suppose there is a long, straight fence and a slit in that fence at $x=0$. The function is whether you can see beyond the fence – you cannot ($0$), even if you creep up to it (taking the limit), unless you are actually peering through the slit ($1$). $$f(x)=[x=0]$$