This is killing me! I\'ve never had so much trouble and I can\'t figure out what I\'m doing wrong here.
If I have a number, say 2.32, and I want to do math with it it wo
I think the easiest solution would be to cast it to a float with floatval()
$income = floatval($comission)
leave the rest of the code as is and it should work as intended.