MSDN Question:
Specifically, I need something that will let me represent decimals with a
large amount of precision... Similar to this library:
http://www.codeproject.com/csharp/biginteger.asp
... but I need decimal support.
If worse comes to worse I'm thinking I can use this and just multiply out
the numbers as necessary by a fixed large number
(10000000000000000000000000000000000000000000000000000000000000000000000 or
something similar), but that really feels like an incredibly dirty hack...
So, any better ideas would be appreciated!
The J# re-distributables contain very well tested implementations of BigInteger and BigDecimal that you can use directly in your .NET apps simply by referencing the J# assembly vjslib.dll. http://download.microsoft.com/download/2/e/9/2e9bde04-3af1-4814-9f1e-733f732369a3/NETMatters0512.exe discusses this further. It also contins some Zip classes which are quite useful.