I am currently creating a new maths based application and would like to know how you add, subtract and multiply decimals and integers. So for example say I have 2.5 and want to add 2, the answer should be 4.5 but I always seem to get 2.7.
Please help, thanks in advance.
Adding Integers and Decimals
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

VulpesRank #55 · 29.2K reputationPosted Aug 26, 2011, 10:05 AM EDT
If you're using the decimal type rather than double, then suffix both decimals and integers with 'm'.