Get the absolute value of the AlyaNum.
Rounds up the AlyaNum to the nearest integer. This operation is unsafe for numbers beyond 2^1024.
Change the number of decimal points when formatting AlyaNum into a string.
Decimal points to display in strings
Change the default abbreviation mode used in toString.
Abbreviation method to use
Change the suffixes to be shown when using the method toSuffix.
changeSuffixes({
beginning: ["K", "M", "B"],
first: ["U", "D", "T", "Qd", "Qn", "Sx", "Sp", "Oc", "No"],
second: ["De", "Vt", "Tg", "Qdg", "Qng", "Sxg", "Spg", "Ocg", "Nog"],
third: ["Ce", "Dce", "Tce", "Qdce", "Qnce", "Sxce", "Spce", "Occe", "Noce"],
mult: ["Mi", "Mc", "Na", "Pi", "Fm", "At", "Zp", "Yc", "Xo", "Ve", "Me"]
})
Rounds down the AlyaNum to the nearest integer. This operation is unsafe for numbers beyond 2^1024.
Create a new AlyaNum object from an OmegaNum. This function is mainly reserved for migration of number libraries. (OnoeNum -> OmegaNum)
Create a new AlyaNum object from a BaseOnoeNum. This function is mainly reserved for migration of number libraries. (OnoeNum -> AlyaNum)
Converts strings formatted as raw scientific notation into an AlyaNum. This function does NOT accept suffixed scientific notations that are produced from toScientific and should only be used as a utility function to conveniently get numbers larger than 10^308.
Converts the single primitive number back into an AlyaNum object. This AlyaNum object is usually much more imprecise than it previous was before conversion into a single primitive number. Use this method to display numbers stored in leaderboard datastores.
Converts a formatted string into an AlyaNum.
Does not handle tier 2 suffixes i.e. suffixes above Noce.
ReadonlyGOOGOLConstant for 10^100.
ReadonlyGOOGOLPLEXCnstant for 10^(10^100).
ReadonlyGOOGOLPLEXPLEXConstant for 10^(10^(10^100)).
ReadonlyGRAHAM1Constant for 3^^^^3. (^^^^ = hexation)
Get the logarithm of the AlyaNum object with the specified primitive number base.
Get the logarithm of the AlyaNum object with a base of 10.
Returns the maximum value of two AlyaNum objects.
Returns the minimum value of two AlyaNum objects.
Returns the minimum and maximum value of two AlyaNum objects.
Reverts the AlyaNum back to a primitive number.
For numbers beyond 2^1024, this will return math.huge.
AlyaNum object
Reverted primitive number
Rounds the AlyaNum to the nearest integer. This operation is unsafe for numbers beyond 2^1024.
Converts the AlyaNum object into a string in scientific notation format.
Converts the AlyaNum object into a single primitive number that represents the magnitude of the number. This method should only be used for leaderboards and other things that do not require the specific number itself as the resulting single numbers are highly imprecise.
Converts the AlyaNum object into a displayable string.
Converts the AlyaNum into a string with a number and suffix. Use the changeSuffixes method to edit the suffixes. If a suffix for the specified AlyaNum is not found, scientific notation is used.
ReadonlyTRITETConstant for 4^^^^4. (^^^^ = hexation)
ReadonlyTRITRIConstant for 3^^^3. (^^^ = pentation)
Flips the sign of the AlyaNum object. Equivalent to multiplying by -1.
Converts the AlyaNum into a string in an E chain.
An E chain is exactly what it says. 1e(1e1M) is formatted as ee1M.
E chains place all Es at the start, and have a maximum chain of 10 Es.
AlyaNum object
Resulting string
Converts the AlyaNum into a format E(y)x.
y is the number of times to perform 10^x.
For example, E(3)2 = 10^(10^(10^2))
AlyaNum object
Resulting string
Converts the AlyaNum into Hyper-E notation, Ex#a#b#c#d#e.
a is the number of times to perform 10^x, b is the number of times to perform 10^^x, c is the number
of times to perform 10^^^x and so on.
AlyaNum object
Resulting string
Static version of AlyaNum. This is only separated because roblox-ts requires it. You can simply ignore the naming and treat this interface as AlyaNum.