function module.ConvertNumber(a,S)local j=tonumber(S)local u=j if j>999999 then local S=j/1000 S=math.floor(S)u=S.."\075"elseif j>9999 then local S=j/100 S=math.floor(S)u=S/10 .."\075"end return u end return module

function module:ConvertNumber(Number)
	local NumberedNum = tonumber(Number)
	local FinalNum = NumberedNum
	
	---Checking for phase 1 template: 100k
	if NumberedNum > 999999 then
		local Cached_Num = NumberedNum / 1000
		Cached_Num = math.floor(Cached_Num)
		FinalNum = Cached_Num..("K")

	---Checking for phase 2 template: 10.0k
	elseif NumberedNum > 9999 then
		local Cached_Num = NumberedNum / 100
		Cached_Num = math.floor(Cached_Num)
		FinalNum = Cached_Num / 10 ..("K")
	end
	
	
	return FinalNum
end

return module
