Alright I made a scoreboard for my site i play on (gaming community) and well in script I have it where if a user scores a ai kill its suppose to give the .5 points.. but for some reason its rounding it to 1 point..
I have the database field type as Decimal but for some reason its not wanting to go into the database as decimal and rounds it up can someone help me please here is what i have
PHP Code:
$aikillpts = ($_POST['aikill'] * .5);
__________________
~Fear the one they call Smackie for thy who tries and kills thee thy will be died before sunrise Death 10:1~
|