Jump to content
MakeWebGames

# User Stats

## Recommended Posts

Hi Im Trying To Rais The Max On Stats i use bigint 249 i cant use decimal 249,2 coz it dnt work what is the biggest one you can choose from to get the highest amount

EDITED

with bigint 249 its only going to

9,223,372,036,854,775,808

##### Share on other sites

Re: User Stats

9,223,372,036,854,775,807 is 2^63-1 ...

Quoting from the manual ...

The maximum number of digits for DECIMAL or NUMERIC is 65, but the actual range for a given DECIMAL or NUMERIC column can be constrained by the precision or scale for a given column

So you will have find a different solution ... Try using a DOUBLE...

Again (from the manual)

A normal-size (double-precision) floating-point number. Allowable values are -1.7976931348623157E+308 to -2.2250738585072014E-308, 0, and 2.2250738585072014E-308 to 1.7976931348623157E+308. These are the theoretical limits, based on the IEEE standard. The actual range might be slightly smaller depending on your hardware or operating system.

##### Share on other sites

Re: User Stats

Why are the stats so high?

I've never seen a game with them that big......Not even that 2452 game lol.

##### Share on other sites

Re: User Stats

Hummm I Tryed Decimal 69 tha was max how do i make it more lol ??

the maximum on decimal 69 is....

99,999,999,999,999,999,209,038,626,283,633,850,822,756,121,694,230,455,365,568,299,008

GROOVY AY

##### Share on other sites

Re: User Stats

Hummm I Tryed Decimal 69 tha was max how do i make it more lol ??

As I said - use a DOUBLE

The maximum (signed) is roughly ...

```222,507,385,850,720,140,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000
```

But of course you will lose a lot of accuracy ...

##### Share on other sites

Re: User Stats

Lol what the hell,

Why would you want your Game have large Stats,

What you trying to do Blow up the SQL Database :evil:

##### Share on other sites

Re: User Stats

Thanks For Sayin That It Cheerd Me Up :-D

Well my new game gonna be 100% easy so more ppl play it

so yeh we need big numbers

##### Share on other sites

Re: User Stats

I wudnt make it easy,

I've been to that point off tha stage

When my game was easy,

Everyone was complaining,

Because its too Easy XD

## Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
• Create New...