#Format Number Limit why

22 messages · Page 1 of 1 (latest)

opaque jolt
#

I have a problem because here you see the configuration of my format number and when I exceed 10 TB well it displays 0 why?

config Format Number

return {
    -- Symbols
    groupingSymbol = ",",
    decimalSymbol = ".",
    infinitySymbol = "∞",
    quietNaNSymbol = "NaNQ",
    signalingNaNSymbol = "NaNS",
    
    -- Suffixes displayed for every power of thousands
    -- The default is K, M, B, T - similar to the one provided by Unicode CLDR
    -- You can add more or change the suffix provided here
    compactSuffix = {
        "K", "M", "B", "T", "Ta", "Tb", "Tc", "Td", "Te", "Tf", "Tg", "Th", "Ti", "Tj", "Tk", "Tl", "Tm", "Tn", "To", "Tp", "Tq", "Tr", "Ts", "Tt", "Tu", "Tv", "Tw", "Tx", "Ty", "Tz","Ya", "Yb", "Yc", "Yd", "Ye", "Yf", "Yg", "Yh", "Yi", "Yj", "Yk", "Yl", "Ym", "Yn", "Yo", "Yp", "Yq", "Yr", "Ys", "Yy", "Yu", "Yv", "Yw", "Yx", "Yy", "Yz",
    },
    
    -- advanced configurations --
    showNaNPayload = true,
    
    -- Will only work if the FTZ flag is on and the DAZ flag is off
    -- If the DAZ flag is on then this option is ignored
    -- Currently the Roblox engine has the FTZ flag on but not the DAZ flag
    subnormalsAsZero = false,
}
```lua
barren quest
#

thats as high as it goes

lime dewBOT
#

studio** You are now Level 1! **studio

opaque jolt
barren quest
#

That is as high as it goes.

opaque jolt
opaque jolt
barren quest
#

you use floating point

opaque jolt
barren quest
#

and store numbers as strings

#

and then u preform math through string format

lime dewBOT
#

studio** You are now Level 2! **studio

barren quest
#

the way I handled numbers like this in a cash grab simulator was to basically only use 1-1000.

#

and then you just scale any additional income down by 1000

#

and round it

#

The Kb, Nb, T etc

#

was linked to an array in which i determined the log scale or wateva

#

I can't remember exactly what it was

opaque jolt
#

okok

lime dewBOT
#

studio** You are now Level 4! **studio

opaque jolt
#

thx

barren quest
#

basically with this ur handling smaller numbers and you wont run into number overflow