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
Besides using floats as Tim said, also make sure to use the BC Math functions when performing arithmetic operation on floating point numbers. Specifically bcmul():
$income100 = bcmul($income, 100);