Original Post
Hi, I have done a simple financial application to let my gf easily keep a track of her money without using excel. I used float to represent the values, but precision issues appeared while testing the app. I thought to keep using float and rounding the values to the second decimal place whenever I display them, but I'm not sure about the reliability of this solution, so I thought to use Decimal. My problem is that Decimal does not have an '=' operator nor a copy constructor, and I dont know what problem should I expect replacing floats with Decimals in 2000+ lines. What I'm not sure about is the semantical behaviour when I use reference passing method (used by Decimal) instead than the value copy used by float. I don't know what major issues can this lead to. Should I keep using float? If not, there are guidelines to make this switch not so painful? Thank you!