Monthly Archives: October 2012

Rounding doubles in C#

Don’t trust Math.Round(), and a workaround Turns out Math.Round() can give you some nasty surprises when applied to doubles: The application I’m working on does a lot of complicated calculations of construction costs. The inputs all come from a SQLite … Continue reading

Posted in Software Development | Tagged , | Leave a comment