in reply to How do I find if anything was removed from using the int or sprintf function?

Another solution using POSIX module:

use POSIX qw(ceil); my $total = $sth->rows; my $pageCount = ceil($total / 20);
  • Comment on Re: How do I find if anything was removed from using the int or sprintf function?
  • Download Code