just a simple question what is better for leaderstats and data stores, do i use intvalues or number values because i currently use numbervalues because when you reach 9 quintillion it dosent show as -999999999.etc , but i dont know
NumberValues are for decimals. Int’s are for numbers
but whats THE best one of them??
It depends on what your doing, it could be a hard game with cents and dollars, or it can be a easy game with just dollars. The numbervalue is more data cause it uses decimals as to int’s it’s less data
my game is just dollars and not cents but i still use number values is that good or bad ?
Int: Integers; NumberValues: Decimal.
Integer: 1,2,3,4,5,6,7,8,9…
Decimal: 1.2,1.5,2.6,10.5,100.2…
Just do Int’s they are for dollars.
Ints have a lower limit (10^53ish) while Floats (what NumberValues use) have a limit of 10^308, which is much higher. If you need the higher limit, use NumberValues.
thanks guys for any person who helped , i dont know who to give the solution but the first one who gave me it was Kevinsteo thanks for helping me in this post and the last one lol
It depends on what you are going to do with that. If the dollar of the player can be a decimal number, so in your case, use number values, or just make Math.floor or Math.Ceiling round the number your way. If the dollar of the player can not be a decimal number, then use IntValue.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.