SyntaxHighlighter

Wednesday, March 14, 2007

Working with Decimals in C#

I recently ran in to a bind while working on the ScoreSheet CTP, and once I figured it out I thought I might blog about it... just in case anyone else has similar issues out there.

ScoreSheet is a try-out system I am building for teams that hold try-outs for a specific event... and inside it resides a calculator engine that I use, and well a requirement came in which needed to be able to get the total score no matter what it is and view it as a percentage.

I came up with the following procedure which works out quite well...


No comments:

Post a Comment