limit 0 to step x,fractional part of x dx

$\int_{0}^{x} frac(x) dx=\int_{0}^{x}(x)-[x] dx =\int_{0}^{x}(x-n) dx$