Mathematica seems to agree with me in general with saying that $\displaystyle\int \lfloor x \rfloor dx = \frac{\lfloor x\rfloor (\lfloor x\rfloor-1)}{2}+\lfloor x\rfloor \{ x \}+C = \frac{\lfloor x\rfloor(2 x-\lfloor x\rfloor-1)}{2}+C$; that is, letting $I(x) = \frac{\lfloor x\rfloor(2 x-\lfloor x\rfloor-1)}{2}$ and checking whether $\displaystyle\int_a^b \lfloor x \rfloor dx = I(b)-I(a)$ returned true for all counts, decimals included.
What exactly is preventing this from being true in general? Is the reason there is no indefinite integral due to the discontinuity in the floor function, even though Mathematica defines the definite integral along any interval?