in reply to How do I find if anything was removed from using the int or sprintf function?
use POSIX qw(ceil); my $total = $sth->rows; my $pageCount = ceil($total / 20); [download]