export function beginToPage(begin: number, maxNum: number): number {
	if (maxNum < maxNum) {
		return 1;
	}
	return Math.floor(begin / maxNum) + 1;
}