 							loc.linkToArguments.params &= "&" & arguments.params;
 						}
 					}
-					loc.linkToArguments.text = loc.i;
+					loc.linkToArguments.text = NumberFormat(loc.i);
 					if (Len(arguments.classForCurrent) && loc.currentPage == loc.i)
 					{
 						// apply the classForCurrent class if specified and this is the current page

							loc.linkToArguments.params &= "&" & arguments.params;
						}
					}
					loc.linkToArguments.text = loc.pageNumber;
					if (Len(arguments.prependToPage) && arguments.prependOnAnchor)
					{
						loc.start &= arguments.prependToPage;

							loc.linkToArguments.params &= "&" & arguments.params;
						}
					}
					loc.linkToArguments.text = NumberFormat(loc.totalPages);
					loc.end &= arguments.anchorDivider;
					if (Len(arguments.prependToPage) && arguments.prependOnAnchor)
					{
