How Does EternityNum work

I’ve seen topics of people using EternityNum to make unlimited suffixes. I don’t know how to do that
If wonder how to learn how to use EternityNum and increase the suffix

local suffixes = { '','k','M','B','T','Qd','Qn','Sx','Sp','Oc','No','De','UDe','DDe','TDe','QdDe','QnDe','SxDe','SpDe','OcDe','NoDe','Vt',	'UVt',	'DVt',	'TVt',	'QdVt','QnVt','SxVt','SpVt','OcVt','NoVt','Tg',	'UTg',	'DTg',	'TTg',	'QdTg','QnTg','SxTg','SpTg','OcTg','NoTg','qg','Uqg','Dqg','Tqg','Qdqg','Qnqg','Sxqg','Spqg','Ocqg','Noqg','Qg','UQg','DQg',	'TQg',	'QdQg','QnQg','SxQg','SpQg','OcQg','NoQg','sg','Usg','Dsg','Tsg','Qdsg','Qnsg','Sxsg','Spsg','Ocsg', 'Nosg','Sg','USg','DSg','TSg','QdSg','QnSg','SxSg','SpSg','OcSg','NoSg',	'Og','UOg','DOg','TOg','QdOg','QnOg','SxOg','SpOg','OcOg','NoOg','Ng','UNg','DNg','TNg','QdNg','QnNg','SxNg','SpNg','OcNg','NoNg','Ce','UCe','DCe','TCe','QdCe','QnCe','SxCe','SpCe','OcCe','NoCe','DeCe','UDeCe','DDeCe','TDeCe','QdDeCe','QnDeCe','SxDeCe','SpDeCe','OcDeCe','NoDeCe','VtCe','UVtCe','DVtCe',	'TVtCe',	'QdVtCe',	'QnVtCe','SxVtCe','SpVtCe','OcVtCe','NoVtCe','TgCe','UTgCe','DTgCe','TTgCe','QdTgCe','QnTgCe','SxTgCe','SpTgCe','OcTgCe','NoTgCe','qgCe','UqgCe','DqgCe','TqgCe','QdqgCe','QnqgCe','SxqgCe','SpqgCe','OcqgCe','NoqgCe','QgCe','UQgCe','DQgCe','TQgCe','QdQgCe','QnQgCe','SxQgCe','SpQgCe','OcQgCe','NoQgCe','sgCe','UsgCe','DsgCe','TsgCe','QdsgCe','QnsgCe','SxsgCe','SpsgCe','OcsgCe','NosgCe','SgCe', 'USgCe','DSgCe','TSgCe','QdSgCe','QnSgCe','SxSgCe','SpSgCe','OcSgCe','NoSgCe','OgCe','UOgCe',	'DOgCe','TOgCe','QdOgCe','QnOgCe','SxOgCe','SpOgCe','OcOgCe','NoOgCe','NgCe','UNgCe','DNgCe','TNgCe','QdNgCe','QnNgCe','SxNgCe','SpNgCe','OcNgCe','NoNgCe','Du','UDu','DDu',',TDu','QdDu'}

and yes I have the modules but still cant import them

So, are you trying to make an EternityNum or are you trying to use one?

Also, not relevant but BigNum is the predecessor of EternityNum, so you can also look there since stuff is pretty similar.

If you want to make one, I suggest taking the suffixes from FoundForces EternityNum and see closely what he does, instead of writing it all out in an array/list.

If you want to use one, FoundForces EternityNum is available to use anywhere and everywhere.

Also, I am a connoisseur of BigNum and EternityNum, and even OmegaNum so ask me anything if you’d like.

1 Like

how can eternitynum reconvert example

player.leaderStats.Cash:GetPropertyChangedSignal("Value"):Connect(function()
		local eTeN = require(game.ReplicatedStorage.EternityNum)
		if player.LeaderStats.Cash.Value == player.leaderStats.nCash.Value  then
			CashUpdate = eTeN.convert(player.leaderStats.Cash.Value)
		Cash.Value = eTeN.short(CashUpdate)
end
	end)
	player.leaderStats.Rebirths:GetPropertyChangedSignal("Value"):Connect(function()
		local eTeN = require(game.ReplicatedStorage.EternityNum)
		if player.leaderStats.Rebirths.Value == player.leaderSTats.nCash.Value  then
			RebirthUpdate = eTeN.convert(player.leaderStats.Rebirths.Value)
			Rebirths.Value = eTeN.short(RebirthUpdate)
			end
	end)
	game.ReplicatedStorage.TrueValue.OnServerEvent:Connect(function()
		local eTeN = require(game.ReplicatedStorage.EternityNum)
		if player.DontSee.RebirthCost.Value == player.DontSee.nRebirthCost.Value then
			RebirthsPrice = eTeN.convert(player.DontSee.RebirthCost.Value)
			RebirthCost.Value = eTeN.short(RebirthsPrice)
			end
	end)

What code are you trying to make here?

Here, you do this:

RebirthCost.Value = eTeN.short(RebirthsPrice)

Instead of doing that, do:

RebirthCost.Value = eTeN.bnumtostr(RebirthsPrice)

If you want to display some sort of suffix using EternityNum, you can do this:

print(eTeN.short(RebirthsPrice))

This is only for display, though.

Also instead of just redefining EternityNum, define it before any of the functions.

local eTeN = require(game.ReplicatedStorage.EternityNum)

-- rest of the code here.

1 Like

first result is a test.
image
second is the results when changed
image
I did add some backup values.
New Code

local eTeN = require(game.ReplicatedStorage.EternityNum)


local player = game.Players.LocalPlayer

game.Players.PlayerAdded:Connect(function(player)

	local Stats = Instance.new("Folder",player)
	Stats.Name = "leaderStats"
	local StatsInvis = Instance.new("Folder",player)
	StatsInvis.Name = "DontSee"

	local Cash = Instance.new("StringValue",Stats)
	Cash.Name = "Cash"
	Cash.Value = 0
	local nCash = Instance.new("StringValue",Stats)
	nCash.Name = "nCash"
	nCash.Value = 0

	local Rebirths = Instance.new("StringValue",Stats)
	Rebirths.Name = "Rebirths"
	Rebirths.Value = 1
	local nRebirths = Instance.new("StringValue",Stats)
	nRebirths.Name = "nRebirths"
	nRebirths.Value = 1
	local RebirthCost = Instance.new("StringValue",StatsInvis)
	RebirthCost.Name = "RebirthCost"
	RebirthCost.Value = 1.797693e308
	local nRebirthCost = Instance.new("StringValue",StatsInvis)
	nRebirthCost.Name = "nRebirthCost"
	nRebirthCost.Value = 2500

	local CashUpdate = eTeN.convert(Cash.Value)
	local RebirthUpdate = eTeN.convert(Rebirths.Value)
	local RebirthsPrice = eTeN.convert(RebirthCost.Value)
	
	RebirthsPrice = eTeN.pow(RebirthsPrice , 20000000000000);

	player.leaderStats.Cash:GetPropertyChangedSignal("Value"):Connect(function()
		local eTeN = require(game.ReplicatedStorage.EternityNum)
		if player.leadersStats.Cash.Value == player.leaderStats.nCash.Value  then
			CashUpdate = eTeN.convert(player.leaderStats.Cash.Value)
			Cash.Value = eTeN.short(CashUpdate)
		end
	end)
	player.leaderStats.Rebirths:GetPropertyChangedSignal("Value"):Connect(function()
		local eTeN = require(game.ReplicatedStorage.EternityNum)
		if player.leaderStats.Rebirths.Value == player.leaderStats.nCash.Value  then
			RebirthUpdate = eTeN.convert(player.leaderStats.Rebirths.Value)
			Rebirths.Value = eTeN.short(RebirthUpdate)
		end
	end)
	player.DontSee.RebirthCost:GetPropertyChangedSignal("Value"):Connect(function()
		local eTeN = require(game.ReplicatedStorage.EternityNum)
		if player.DontSee.RebirthCost.Value == player.DontSee.nRebirthCost.Value then
			RebirthCost.Value = eTeN.bnumtostr(RebirthsPrice)
			RebirthCost.Value = eTeN.short(RebirthsPrice)
			print(eTeN.short(RebirthsPrice))

		end
	end)
	Cash.Value = eTeN.short(CashUpdate)
	Rebirths.Value =	eTeN.short(RebirthUpdate)
	RebirthCost.Value = eTeN.bnumtostr(RebirthsPrice)
	RebirthCost.Value = eTeN.short(RebirthsPrice)
	print(eTeN.short(RebirthsPrice))




end)
1 Like

Glad to see that it works!

fillerwordshere

I literally forgot I was logged in to my alt until August 2022 so the poster is actually me