![]() |
Subtraction code not doing as it should
Ok I am making a hack and the code adds/subtracts numbers due to buying/selling... Well when an item is bought eh numbers are added which is this code
PHP Code:
PHP Code:
|
Now this is not a code problem.. this is a simple math problem. Now in school you learn that if you subtract a small value from a larger value you will in turn get a negative value. But if you subtract a large value from a smaller value you will in trun get a postivie value.
example: 3 - 60 = -57 60 - 3 = 57 so do you get how to do it now? |
Quote:
|
well i have tryed it both ways... and it still caused problems... ah someday I iwll figure it out...
|
All times are GMT. The time now is 08:40 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|