The '2147483647' limit.
#1

Hello. I'm trying to pass the 2147483647 limit on variables by using two variables.

One variable for an amount from 0-999 and another for the rest.


If your wondering why I need such high numbers its basically all the players money stats into one stat.


I need a way of doing it so i can format and display it to the player like so

pawn Код:
format(string, sizeof(string)"bla bla bla a total of $%d%d",thousands, hundreds);
So.. what's the best way to go about this problem without using bits?

Cheerse.
Reply
#2

Could you try using a long or a double?
Reply
#3

There was a include.. that formats numbers..
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)