Integral in question, and its answer
The integral $$\int_{0}^{1000} e^{\left\{ x \right\}}\, \operatorname{d}x$$ where $\left\{\cdot \right\}$ is the fractional part function, evaluates to $1716.02$ in Desmos, which should THEORETICALLY be equal to $1000 \cdot \left( e - 1 \right)$, but calculating gives $1000 \cdot \left( e - 1 \right) = 1718.28$. The difference isn't $e$, so why the discrepancy? Just curious.
My steps for calculation: The fractional part function is defined as the difference between a number $x$ and its floor function, $\left\{ x \right\} = x - \left\lfloor x \right\rfloor$. Since $e^{\left\{ x \right\}}$ is a periodic function of period 1, we can break the integral into 1000 equal parts, evaluating: $\int_{0}^{1000} e^{\left\{ x \right\}}\, \operatorname{d}x = 1000 \times \int_{0}^{1} e^{\left\{ x \right\}}\, \operatorname{d}x = 1000 \cdot \left( e - 1 \right)$.