return function(O)O=tostring(string.format("\037\049\056\046\048\102",tonumber(O)or 0))O=((((tostring(O)):reverse()):gsub("\040\037\100\037\100\037\100\041","\037\049\044")):reverse()..((tostring(O)):match("\037\046\037\100\043")or"")):gsub("\094\044","")O=string.gsub(O,"\037\115\043","")O=string.sub(O,string.sub(O,0,1)=="\044"and 2 or 0)return O end



return function(n)
	--- Remove scientific notation
	n = tostring(string.format("%18.0f", tonumber(n) or 0))
	
	--- Convert to commas
	n = (tostring(n):reverse():gsub("(%d%d%d)", "%1,"):reverse()..(tostring(n):match("%.%d+") or "")):gsub("^,", "")
	
	--- Cleanup
	n = string.gsub(n, "%s+", "")
	n = string.sub(n, (string.sub(n, 0, 1) == "," and 2 or 0))
	
	--
	return n
end
