Monday, June 23, 2003

KensAwesomeCalc, version 2.01

I fixed a rounding bug. After two hours of taking the mathematical approach (adding .5 to the result and truncating) and trying to figure out why I couldn't add a fraction to a decimal, I finally did a Google search and discovered this magical little function in C# called System.Math.Round.

Heh.

No comments:

Post a Comment