It really depends on what do you want to do.
Without any prior explanation given,
$$\sum_{i=0}^{n} a_i$$
just means that you add $1$ to the index each time, and add the corresponding $a_i$. You ignore anything for $i>n$.
Correspondingly, the most natural interpretation of
$$\sum_{i=0}^{5/2} a_i$$
(as an example) is still just $a_0 + a_1 + a_2$, since $3 > 5/2$. Most would clarify such edge cases, however, by taking the ceiling or the floor of the upper bound, i.e.
$$\sum_{i=0}^{\lfloor 5/2 \rfloor} a_i
\qquad \sum_{i=0}^{\lceil 5/2 \rceil} a_i$$
depending on whichever fit their use case better.
If you want to add in increments of $1/2$ instead, as I feel this may be suggesting, you should either
Change the indices inside the sum to accommodate this. For instance, if I have a set of numbers $a_0,a_{1/2},a_1,a_{3/2},a_2,a_{5/2},\cdots$ and so on, I might realize that the numbers take the form $k/2$ for some $k \ge 0$. So then I might have
$$
\sum_{i=0}^5 a_{i/2} = a_0 + a_{1/2} + a_1 + a_{3/2} + a_2 + a_{5/2}
$$
Use a different notation. For finite indexing sets $S$ for sure, the notation
$$
\sum_{i \in S} a_i
$$
is unambiguous. So you might define, say,
$$
S_n := \left\{ \frac k 2 \; \middle| \; k \in \{0,1,\cdots,n\} \right\}
$$
and therefore
$$
\sum_{i \in S_5} a_i = a_0 + a_{1/2} + a_1 + a_{3/2} + a_2 + a_{5/2}
$$
Of course, you could tweak the set and indexing as you please, for whatever form is convenient. Just be wary of concerns for infinite and especially uncountable sets.