Get the absolute value of the OnoeNum.
Rounds up the OnoeNum to the nearest integer. This operation is unsafe for numbers beyond 2^1024.
Rounds down the OnoeNum to the nearest integer. This operation is unsafe for numbers beyond 2^1024.
Create a new OnoeNum object from a mantissa and exponent. This simply wraps the two numbers into a table and provides it the OnoeNum metatable. This could be useful for quickly creating large numbers exceeding 10^308 without having to do num1 * 10 ^ num2.
Converts the single primitive number back into an OnoeNum object. This OnoeNum 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 OnoeNum object.
Converts a formatted string into an OnoeNum object.
Get the logarithm of the OnoeNum object with the specified primitive number base.
Get the logarithm of the OnoeNum object with a base of 10.
Returns the maximum value of all OnoeNum objects passed.
Returns the minimum value of all OnoeNum objects passed.
Returns the minimum and maximum values of the two OnoeNum objects passed.
Generates a random OnoeNum object between the specified minimum and maximum values, inclusive. The distribution is uniform across the range.
Calculates the reciprocal of the OnoeNum object (1/x).
Reverts the OnoeNum back to a primitive number.
For numbers beyond 2^1024, this will return math.huge.
OnoeNum object
Reverted primitive number
Calculates the nth root of the OnoeNum object.
Rounds the OnoeNum to the nearest integer. This operation is unsafe for numbers beyond 2^1024.
Converts the OnoeNum object into a string in scientific notation format.
Converts the OnoeNum 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 OnoeNum object into a string with the specified mode. If suffix is used, this method is equivalent to toSuffix. If scientific is used, this method is equivalent to toScientific.
Converts the OnoeNum into a string with a number and suffix. Use the Suffixer.changeSuffixes method to edit the suffixes. If a suffix for the specified OnoeNum tuple is not found, scientific notation is used.
Flips the sign of the OnoeNum object. Equivalent to multiplying by -1.
Static version of OnoeNum. This is only separated because roblox-ts requires it. You can simply ignore the naming and treat this interface as OnoeNum.