Help with float/int enum params
I have more stats, this is just an example. How it should be done so that the float parameters work well?
PHP Code:
PHP Code:
|
Re: Help with float/int enum params
Floating-point math and integer math are two very different operations. This is why you have to tag your floating-point variable with "Float:". So, you are doing integer math on floating-point values which will corrupt the floating-point value.
You should do something like this: PHP Code:
|
| All times are GMT -4. The time now is 17:51. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.