The result of -1 divided by 7 is -0.14285714285. In your example, the value is probably being rounded.
If what you are trying to do is calculate the total number of pages, this is the correct formula:
Code:
floatround(float(total item count) / float(limit per page), floatround_ceil)
__________________