 							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

					{
						if (Len(arguments.classForCurrent))
						{
							loc.middle &= $element(name="span", content=loc.i, class=arguments.classForCurrent);
						}
						else
						{
							loc.middle &= loc.i;
						}
					}
					if (Len(arguments.appendToPage))

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