Added fix to pagination float issue

Quick fix to pagination with float numbers