using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SAGA.DotNetUtils.Extend;

namespace Com.FirmLib.UI
{
    public static class CommomUtils
    {
        public static int CalcPageCount(int allCount, int perCount)
        {
            var pageCount =allCount / ((double)perCount);
            return (int)Math.Ceiling(pageCount);
        }
    }
}
