Come fa ad essere decimale??? Prendi solo la parte intera del numero... + 1.

if pagesize <> int(pagesize) then pagesize = int(pagesize) + 1

Roby